Jump to content

URL


tubs2222

Recommended Posts

[!--quoteo(post=355777:date=Mar 16 2006, 08:44 PM:name=tubs2222)--][div class=\'quotetop\']QUOTE(tubs2222 @ Mar 16 2006, 08:44 PM) [snapback]355777[/snapback][/div][div class=\'quotemain\'][!--quotec--]I have a question ...[/quote]
OK, what's your question?
Link to comment
Share on other sites

[!--quoteo(post=355785:date=Mar 17 2006, 02:04 AM:name=tubs2222)--][div class=\'quotetop\']QUOTE(tubs2222 @ Mar 17 2006, 02:04 AM) [snapback]355785[/snapback][/div][div class=\'quotemain\'][!--quotec--]
how do u make it so that a url turns into this "index.php?id=232"
[/quote]


index.php:
[code]

<a href="index.php?id=10">click me</a>
<?php

if ( $_GET['id'] ) {
    print "<br><br>You said the ID was $id";
}

?>
[/code]
[=
Link to comment
Share on other sites

[!--quoteo(post=355802:date=Mar 16 2006, 10:41 PM:name=keeB)--][div class=\'quotetop\']QUOTE(keeB @ Mar 16 2006, 10:41 PM) [snapback]355802[/snapback][/div][div class=\'quotemain\'][!--quotec--]
index.php:
[code]

<a href="index.php?id=10">click me</a>
<?php

if ( $_GET['id'] ) {
    print "<br><br>You said the ID was $id";
}

?>
[/code]
[=
[/quote]

Oh i c... thanks :)
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.