0

hiii ppl of the forum..

I have this date field in the form, i managed to get the calender script work, when i select the date, it appears properly in the text field, but on cliking submit, it gets stored as 0000-00-00 in the database.

any idea frens what is happening here..please help me out

thanks

<td align="left">Purchase Order Date:</td>
            <td><input type="text" name="podate" id="podate" tabindex="2" />
            <a onclick="setYears(1234, 2050); showCalender(this, 'podate');"><img src="../web/images/calender5.jpeg" /></a>
              <?php require_once('../web/calhtml.html');?></td>
1
Contributor
2
Replies
3
Views
6 Years
Discussion Span
Last Post by puvi
0

frens, more info on this issue, i tried to print the date using alert n it is happening properly, so is the issue with $_POST again?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.