|
#1
|
||||||||||||
|
||||||||||||
|
There is a post up on these boards about php linking, but its a bit outdated so I am here making a revised version. A useful code that allows for users to update sites without using mutiple pages of sites, instead drawing upon a single file for content.
Full code: Code:
Now lets break this down for everyone. Code:
Example: "<?php switch($_GET['id']){" your links would be http://yourhost.com?id=case. Code:
Code:
the include 'url' code tells where to grab the file for the content. When You want to create more links, simply add more to the case list. Example: Code:
Hope that gives some of ya some things to use later on in websites. Let me know if anything is wrong or needs editing.
__________________
www.BrianLeee.com - Online Portfolio |
| xplicit's Sponsored Links: |
|
| Display your advertising here - learn about Pictual Revenue Sharing |
|
#2
|
|||||||||||||
|
|||||||||||||
|
Great tut! Moved to the Programming Forum
|
|
#3
|
|||||||||||||
|
|||||||||||||
|
Ohh nice, thank you!
__________________
Whenever i comment, suggest and post, im ME!
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|