Here's something I want to do but unable to accomplish. I have a block of PHP code that will load my data from a MySQL database. Now, once this block of php is ended, I have a html form that have two hidden input box that I need two data from the query done in the PHP block. I need these two data so I can send over to the next page. How do I accomplish that? Heres' what I have done.
<?PHP
Here are my code and query for the data in MySQL database...
Display the information to the webpage for the user to verify if it is correct...
$nmLast = $row["LstName"];
$nmFirst = $row["FstName"];
?>
Now I have a form for the user to enter his/her ID in the box...along with two hidden input boxes.
<input name="txtConstID" type="text" size="4" maxlength="4">
<input name="txtLstName" type="hidden" value="<?PHP $nmLast; ?>">
<input name="txtFstName" type="hidden" value="<?PHP $nmFirst; ?>">
Okay, the problem is those two values from the hidden input boxes don't show anything on the next page.
What are my best options to accomplish this task?
Any suggestion is much appreciated.
ljCharlie