FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Code Stops Working
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Code Stops Working [message #172391 is a reply to message #172382] Wed, 16 February 2011 04:39 Go to previous messageGo to previous message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma:
Senior Member
On Tue, 15 Feb 2011 23:02:47 +0000, Tim Streater wrote:

> In article <MPG(dot)27c4a6b086a6d5169896a5(at)news(dot)eternal-september(dot)org>,
> mrc2323(at)cox(dot)net (Mike Copeland) wrote:
>
>> I have assumed ownership of a site that has a lot of PHP code - and I
>> don't have much experience with the language and environment. The site
>> is:
>>
>> www.raceplaceevents.com
>>
>> The situation is that I've made a small change to one of the sub-
>> pages that seems to render it not working. The sub-page is:
>>
>> results_ques_probs.php
>>
>> and can be accessed from the main page by clicking the "Results
>> Questions Or Problems" button of the left.
>> When clicked, the action _appears_ to work. If one fills out the
>> required fields and clicks the "Submit" button, everything seems okay:
>> no errors or messages. However, no e-mail is sent to either of the 2
>> addresses, nor is there a status message sent to the sender's e-mail. 8
>> <{{
>> The change I made is in the HTML table code near the bottom of the
>> code, where I commented out one of the prompts. (You can see the change
>> I made if you look at the code.) Again, the remaining code appears to
>> function, but no e-mail is sent and no error is reported by the browsers
>> I've tested. Please advise. TIA
>
> Hmmm, how are we supposed to see the PHP source? All I can see is the
> HTML resulting from the PHP script running. Personally I've never used
> these <!-- comments so I'm not sure what they do.
>
> I'd suspect that the PHP code is looking for the "tag_collected" element
> and not finding it, is giving up. Have you looked through the PHP code
> to see where that is used?
>
> By the way, there's a typo on this page in "Did you finish near of with
> anyone you know?"

In html

<!-- this is a comment -->

To function properly the ending --> must be as shown.
Anything within the < > is not acted upon.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: about memory usage with php application
Next Topic: PHP currency converter with XML feed
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 23:26:48 GMT 2024

Total time taken to generate the page: 0.04161 seconds