I'm creating a simple form page that saves form information to a database but for some reason some (not all) variables. I checked the variables and it appears that some of the information is not being passed into the variable. I've scoured the code and can't seem to find the problem.
If anyone would mind helping me out, I'd appreciate it.
global $id, $pubdate, $fname, $lname;
The information is sent to the variables as so:
<tr><td>
<b>First Name:</b>
</td><td>
<input type="text" name="firstname" value="$fname" size="25">
</td></tr>
<tr><td>
<b>Last Name:</b>
</td><td>
<input type="text" name="lastname" value="$lname" size="25">
</td></tr>
The actual code contains 10 variables, each one with a corresponding form element. Only 6/10 are being successfully passed and I've checked the code for the 4 perpetrators and it seems to be in working order.
If you can help, again, I'd appreciate it.
PXC