trivia89
01-26-2007, 07:05 AM
Hello All. Before I start....thanks for your patience.
I need to have my order form (PHP) generate a reference or order form that's unique when the user clicks the SUBMIT button (the form then gets email to me in text). I figured using a time/date stamp would make it unique enough.
I pulled this off of another forum...
$reference_num_date = date("ymdHis",$reference_num_secs);
Apparently, it generates a code like this... 070125230302
Which is Jan 25, 2007 11:03:02pm.
This is exactly what I can use. The problem is, how do I get this reference number to appear on the "Thank You for your order" page and have it emailed to me along with the rest of the order?
Please help!! THANKS:)
I need to have my order form (PHP) generate a reference or order form that's unique when the user clicks the SUBMIT button (the form then gets email to me in text). I figured using a time/date stamp would make it unique enough.
I pulled this off of another forum...
$reference_num_date = date("ymdHis",$reference_num_secs);
Apparently, it generates a code like this... 070125230302
Which is Jan 25, 2007 11:03:02pm.
This is exactly what I can use. The problem is, how do I get this reference number to appear on the "Thank You for your order" page and have it emailed to me along with the rest of the order?
Please help!! THANKS:)