Jump to content

How to Pass a variable to other pages


kmkmahesh

Recommended Posts

i have to pass a variable to so many pages i mean variable post from index.html to page1.php and it has to pass to other pages like page2.php, page3.php and so on,

 

i tried

session_start()

 

but i am getting the below error so please tell me how it is possible to

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by
and 
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.