Results 1 to 4 of 4
  1. #1

    Exclamation Part 2 of my every forending PHP help!

    Yes me again This time, I have finally got my script to work thanks to alot of your help I was fine with making the script to Add to the DB, but retrieving Im not so sure about.

    I basically want to retrieve rares from db in the following format:

    rareview.php?id=###

    ### being the 001, 002 etc.

    My table structure if you need to look is:


    All help is appreciated, thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Coventry
    Posts
    2,096
    Tokens
    0

    Latest Awards:

    Default



    NOt sur ebut...

    PHP Code:
    if ($_GET['id]) {
    mysql_query("SELECT FROM table where id = '
    $id'")
    }
    else{} 
    =]

  3. #3
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    Check out this tutorial writen by Mentor http://thybag.co.uk/index.php?p=Tutorials&ind=23

    That gives you some good functions to use in what you are wanting to do, just take out the bits you need...

  4. #4

    Default

    Well i cant test any until tomorrow (just updated dns server due to a server change from my host) but the latter one dont think will work because I would still haev to insert the page.

    I want it so it retrieves whats in the mySQL DB

Posting Permissions

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