quick php question..

Associate
Joined
8 Mar 2007
Posts
2,176
Location
between here and there
hey guys,

I want to pass a varaible from one page to another using the post method but without using a form as no data needs to be inputted from the user.

Any ideas??

thanks in advance
 
i'm very new to php.

how do i go about using a session then??

I've read php.net but I'm still not clear how i would imperment it on to my site.

cheers
 
cheers for the reply.

I've tried it but when i add the code to my page I get this error

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs.........

is there something i need to know?

I've got a .php page with html in it as well. I've echo'd the html at the mo. I'm just trying to learn the php before i mess about with the design.

cheers again
 
Back
Top Bottom