![]() |
|
#1
|
|||
|
|||
secound level php switch &id=hi all i'm needing some help with php switch case code needing to make a secound level string '&id=' how would i go around building this I have searched the internet and found nothing.. pls help me ;( thanks nophoto.
|
|||
|
#2
|
|||
|
|||
|
From what I understand is you want to have a main switch to call the functions of what you want to run and then have a secondary switch to run a sub function out of the main.
If this is what you want to do, this is how I did it... PHP Code:
Then inside the forums() function... PHP Code:
And so on for each function. Does this answer your question? Last edited by LuciWiz : 25-Mar-2005 at 00:37.
Reason: Please insert your PHP code between [php] & [/php] tags
|
|
#3
|
|||
|
|||
|
hey jmumm
yes it sort of does but i was thinking more on the lines off a string like this www.mysite.com how could i make one of those, do you have any idea? thx nophoto. |
|
#4
|
|||
|
|||
|
np i get what u were saying got it working thanks was right in front of my face all the time
|
|
#5
|
|||
|
|||
|
Use $_GET['id'] to read the URL variables.
|
Recent GIDBlog
Problems with the Navy (Chiefs) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help ! I need help starting up on Php ! | onauc | MySQL / PHP Forum | 11 | 05-Jan-2005 00:57 |
| Re: Command Line Arguments, Part 1 | WaltP | C Programming Language | 0 | 11-Jul-2004 00:34 |
| uisng php to display php | dopee | MySQL / PHP Forum | 6 | 14-May-2004 19:40 |
| php software | dopee | MySQL / PHP Forum | 0 | 04-May-2004 12:26 |
| All the big PHP script collections that matter | jrobbio | MySQL / PHP Forum | 5 | 06-Jun-2003 17:14 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The