This is a discussion on Dynamic URLS within the Programming Articles forums, part of the Webmaster Articles/Tutorials category; Dynamic URL's are those things where you see http://www.blah.com/post.php?do=whatever , the dynamic part is the do=whatever. To get the dynamic ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| | #1 (permalink) |
| *poke* *poke* | Dynamic URL's are those things where you see http://www.blah.com/post.php?do=whatever, the dynamic part is the do=whatever. To get the dynamic URL we use the $_GET variable, look below: PHP Code: Now to show stuff according to what they put after the equal sign: PHP Code: Cool, eh? Feel free to leave rep. |
| | |
| | #2 (permalink) |
| WMT Addict | Mck: :P That else statement will echo at every dynamic url, so say you typed page.php?dyurl=blah it would tell you "Right.... :|" not sure if that's what you wanted :P, but it's good to see you learned how to use them
__________________ Kingdoms Of Battle << Check out my free to play online strategy game! SomeCoders - Coding blog, coding tips |
| | |
| | #4 (permalink) | |
| *poke* *poke* | Quote:
__________________ | |
| | |
| | #5 (permalink) |
| WMT Addict | Ooh yeah, i didn't notice the single equal sign :P I don't know how that would work, by the looks of it, it would always give you one value for $dyurl. == is the equal to operator, so like if($dyurl == "blah"){akjwhfiawkhergiawre} That's how it would work
__________________ Kingdoms Of Battle << Check out my free to play online strategy game! SomeCoders - Coding blog, coding tips |
| | |
| Tags |
| dynamic, urls |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to create dynamic signiture images? | robertall | Programming Articles | 2 | 28-06-2005 13:30 |
| Static / dynamic???? | benf | Programming / Scripting / Coding | 4 | 09-06-2005 13:39 |
| Submit your URLs! | Wistow | Forum Announcements | 13 | 11-04-2005 10:11 |