PHP hyperlinks/links scripting: How to? |
PHP hyperlinks/links scripting: How to? |
Defcon |
Apr 23 2007, 06:40 AM
Post
#1
|
Group: Members Posts: 1 Joined: 23-April 07 Member No.: 2,603 |
Hye again!
I got some basic PHP scripting here. Let say like this on normal HTML scripting code is like this: <a href="clikme.php">ClickMe!</a> But on PHP how i can do with some "longer url/ID" let say like this: <a href="index.php?whatever=whatever">clickMe!</a> Our senario is, both of script above is hyperlink with a same file. Thanxs |
Darin McGrew |
Apr 23 2007, 11:52 AM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
I'm not sure what you're asking. Are you trying to figure out how to display different content based on whether there is information in the query string ("...?whatever=whatever")? Or are you trying to figure out how to have two different URLs refer to the same PHP file ("clikme.php" vs "index.php")?
|
Lo-Fi Version | Time is now: 2nd May 2024 - 06:55 PM |