A client registration scirpt has worked since 2007. After working on the parent script the registration section fails on an HTML tag. I cannot figure out why.
Could someone offer a suggestion of how to debug this?
I’ve lifted out a segment where the only two tags occur …
[php]
First name: |
Last name: |
Company*: |
---|
The error thrown are ‘Undefined variable’ as follows
[php] <select name = ‘state’ size=‘1’ maxlength=‘6’ option selected="PHP Notice: Undefined variable: state in /home/vg011web00/68/65/2926568/web/auxlib/usit2013/Tests/TST_form2.php on line 28
"/>
PHP Notice: Undefined variable: b in /home/vg011web00/68/65/2926568/web/auxlib/usit2013/Tests/TST_form2.php on line 31
PHP Warning: Invalid argument supplied for foreach() in /home/vg011web00/68/65/2926568/web/auxlib/usit2013/Tests/TST_form2.php on line 31
<TR><TH align=RIGHT> Country:
<TD width='30'>
[b] <select [/b]name = 'country' size='1' maxlength='6' option selected="PHP Notice: Undefined variable: country in /home/vg011web00/68/65/2926568/web/auxlib/usit2013/Tests/TST_form2.php on line 42
"/>
PHP Notice: Undefined variable: a in /home/vg011web00/68/65/2926568/web/auxlib/usit2013/Tests/TST_form2.php on line 45
PHP Warning: Invalid argument supplied for foreach() in /home/vg011web00/68/65/2926568/web/auxlib/usit2013/Tests/TST_form2.php on line 45
[/php]
Note that these errors are thrown even in this snippet that has none of the parent code.
Futhermore, a pre 2007 version fails the same way, but its parent code had not been modified(?)
Any suggestions on how to debut this error would be greatly appreciated.
usit