How do I hide something in a form that lets me know exactly when the form was usbmitted? Like a date and time, so that I can list posts on a BBS by date and time in ASC order?
hidden fields look like this:
<input type="hidden" name="put name here" value="put value here">
That's it.
Chad
you can get current time by function date() in your form action specified file.
<input type=hidden name=date value="<? echo date("Y-m-d"); ?>">
for further date function parameters see php.net etc.
Awesome! 🙂 Thanks!. That was simple. I guess I should have just looked it up on php.net but I was sleepy and not thinking straight. 🙂