My scripts are successfully passing single variables and arrays from page to page but I can't get $_Session['orderid'] = time(); to work. I have tried "time()" in an attempt to make it a string and a dozen other things. echo time(); works just fine so I know the server is sending the data. I am looking for a simple way to use the servers time functions to make a fairly unique order id to pass from the order interface to the checkout page and finally the thank you page. What is wrong with my syntax?
time() is not passing as a Session variable?
Collapse
X
Comment