|
||||||
| 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 Don't hesitate to ask any questions that you have! Check out our ASCII Calculator! |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
| Xav | ........ | 213.39 |
| chili5 | ........ | 80.87 |
| morefood2001 | ........ | 57.41 |
| John | ........ | 52.33 |
| gamiR | ........ | 40.76 |
| MeTh0Dz|Reb0rn | ........ | 40.7 |
| -MW- | ........ | 40 |
| WingedPanther | ........ | 35.4 |
| gaylo565 | ........ | 24 |
| RyanTuosto | ........ | 23.34 |
Goal: 100,000 Posts
Complete: 68%