Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: php url

  1. #1
    Regular Coder
    Join Date
    Jul 2011
    Posts
    141
    Thanks
    8
    Thanked 0 Times in 0 Posts

    php url

    Okay I would like to do the following

    Have one php page with all the following

    Signup
    Register
    Index
    Account
    Logout

    I want the url to be something like for each of them

    http://localhost/?id=437280 <-mysql row id

    How would I do this?

    Thanks

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,537
    Thanks
    8
    Thanked 1,093 Times in 1,084 Posts
    <?php
    $row_id=$_GET['id'];
    echo $row_id;
    ?>

    I'm not sure if that's what you mean or not.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •