adding php variables in hidden value
Posted: Mon Aug 13, 2007 2:03 am
Hi all
I need help on one matter here. I have a php file which takes values
from the form which calls the page and displays it for confirmation. I
try to display using this:
The reason behind this is that after confirmation this page will have
a form action that calls another page to store the hidden variables
into the database, but the above line will not display the value
$startDate, does anyone know why?
Thanks
I need help on one matter here. I have a php file which takes values
from the form which calls the page and displays it for confirmation. I
try to display using this:
Code: Select all
From: <input name="start" type="hidden" value="<?php echo $startDate; ?>" >The reason behind this is that after confirmation this page will have
a form action that calls another page to store the hidden variables
into the database, but the above line will not display the value
$startDate, does anyone know why?
Thanks