|
||||||
| PHP Forum Use this forum to discuss all aspects of PHP Development. PHP is a server-side, cross-platform, HTML embedded scripting language that lets you create dynamic web pages. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
While working on one server and connecting to a URL such as myscript.php?var=this I can use code like this:
PHP Code:
__________________
I Need Help |
| Sponsored Links |
|
|
|
|||||
|
its not a matter of global variables. gloval variables come into effect when you are working with seperate functions.
But yes you have to use $_GET['variable'] and $_POST['variable']. What i do a lot of times when im programing is right after the <?php set $_GET['variable'] equal to the reular variable so its easier to read. PHP Code:
|
|
|||||
|
You can always extract the data as well. Do this at the top of your scripts
PHP Code:
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |
Goal: 100,000 Posts
Complete: 97%