On our companies website have have several pages that submit to a
database that php provides the date automatically. One page, however,
will not. This page is generated by a database search and have 5 fields
that are added and then updated in the database. One of these fields is
the date.
<INPUT NAME="daterepai red" TYPE="text" VALUE="<?php echo date("M d,
Y")" ?>; SIZE="15">
This doesn't work. It displays a box with <?php echo date( in it. I
have tried replacing " with ' with no difference. I'm beginning to
think that it is because the page this is on is generated from a php
search script. This code works for me on the other pages. Anyone have
any suggestions or alternatives?
Thanks for your help,
Greg
database that php provides the date automatically. One page, however,
will not. This page is generated by a database search and have 5 fields
that are added and then updated in the database. One of these fields is
the date.
<INPUT NAME="daterepai red" TYPE="text" VALUE="<?php echo date("M d,
Y")" ?>; SIZE="15">
This doesn't work. It displays a box with <?php echo date( in it. I
have tried replacing " with ' with no difference. I'm beginning to
think that it is because the page this is on is generated from a php
search script. This code works for me on the other pages. Anyone have
any suggestions or alternatives?
Thanks for your help,
Greg
Comment