Page 1 of 1

passing posted elements from html to php to another php

Posted: Tue Oct 21, 2008 4:37 pm
by vidyabhushan
how can we pass the elements which are posted to a php program from html page to another php program?

Re: passing posted elements from html to php to another php

Posted: Tue Oct 21, 2008 4:52 pm
by dude81
you can use PHP sessions

Re: passing posted elements from html to php to another php

Posted: Tue Oct 21, 2008 5:05 pm
by Obadiah
dude81 wrote:you can use PHP sessions

Code: Select all

 
<?php 
session_start();
 

Re: passing posted elements from html to php to another php

Posted: Tue Oct 21, 2008 5:11 pm
by vidyabhushan
Ok got it... Thank you...

Re: passing posted elements from html to php to another php

Posted: Wed Oct 22, 2008 3:54 am
by aceconcepts
If you haven't used SESSIONS before you might want to know that session_start() should be called from the beginning of the script :wink: