Hi. I want to send a variable from a php page to another php page. how i can do this? I think i must use session. Is there other ways to do this?
hd.m
u could use cookies, forms, url(GET/POST)
i think a way to do this is by sending it in the URL.
something like <a href=page.php&var=var_value>
hope this helps.
You might as well use sessions though; that's what they're there for. They also have some small advantages over the other three suggestions given here.
Also on the same topic as Weedpacket, put all the data into an array.