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 #172396 is a reply to message #172385] Wed, 16 February 2011 13:53 Go to previous messageGo to previous message
sheldonlg is currently offline  sheldonlg
Messages: 166
Registered: September 2010
Karma:
Senior Member
On 2/15/2011 7:36 PM, Mike Copeland wrote:
> In article<4d5b0bf7$0$8054$bed64819(at)gradwell(dot)net>,
> denis(dot)m(dot)f(dot)mcmahon(at)googlemail(dot)com says...
>> On 15/02/11 22:06, Mike Copeland wrote:
>>
>>> 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
>>
>> Unfortunately we can't see the php code, just the html that it generates.
>>
>> However, I see the following conflict when I look at the page html:
>>
>> <form name="form_name" ....... onclick="check(this)">
>>
>> <input name="name" ....>
>>
>> </form>
>>
>> and the javascript:
>>
>> function check(form) {
>> name = form.name;
>> if (trim(name.value) == "") /* barf gently */;
>> }
>>
>> If form.name is the name attribute of the form, then it has no value
>> attribute, so I'm wondering what trim which I assume is a locally
>> defined function will do when given an undefined value ....
>>
>> Whether this is related to your problem or not I don't know.
>
> My apologies to all: I didn't realize that the PHP source isn't
> accessible. Here it is (but it's messy due to the tabs, etc.). Hope
> this helps...

No excuse! _YOU_ are the one seeking help. It is up to _YOU_ to go
through the trouble to make it easily readable to the people you are
asking for help.

Sorry, but this is just too hard to read for me to spend the time to dig
into this. Maybe someone else doesn't care and will answer you.

<snip>

--
Shelly
[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: Sat Nov 23 00:13:02 GMT 2024

Total time taken to generate the page: 0.04986 seconds