![]() |
|
#1
|
|||
|
|||
Problem In Passing VariablesHi,
I have created php page called sms.php which displays the username retrieved from the database through selecting checkbox. Here is the code in sms.php: PHP Code:
But i want to pass these variables to another page called demo.php from sms.php page and display the same. Plz help me out...... Last edited by LuciWiz : 03-Nov-2007 at 09:29.
Reason: Please insert your Php code between [php] & [/php] tags
|
|
#2
|
|||
|
|||
Re: Problem In Passing Variablesbest way to get variables from page to page in php is to either create a file with the variabes, with a final variable which is a flag.
you could also do this with a database. so when you load the page, you would have a function that would see if either the file or databases rows or last line(in the file) boolean flag is true or false to see if it is set, if so, read them in and do as you wish. this may come off very cumbersome, but thats the way i've done it in the past. I dont really know of any other way. you could also make a form with 'hidden' inputs and put the variables in those inputs, then just submit those to another page. MonkO |
Recent GIDBlog
Flickr uploads of IA pictures by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| passing variables out of an iframe by url | JUNK KED | MySQL / PHP Forum | 5 | 31-Jul-2007 09:33 |
| Globalizing member variables to avoid passing to member functions... | jondean | C++ Forum | 13 | 14-Aug-2006 00:44 |
| Question Passing Variables (Visual Basic & HTTP) | pcxgamer | Open Discussion Forum | 0 | 28-Feb-2006 00:46 |
| Problem Passing Pointer in return..(Possibly) | Pr0fess0r | C Programming Language | 5 | 28-Jun-2005 23:54 |
| Apache on Windows XP and passing variables | Jos Elkink | Apache Web Server Forum | 4 | 21-Nov-2003 02:21 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The