Results 1 to 2 of 2

Thread: Multipart URL Reference?

  1. #1
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default Multipart URL Reference?

    Hey... I learned a little bit from techsupport's tutorial on php templates on URL referencing. I was wondering how do you get multipart urls... Like below
    Code:
    http://www.pureadd.com/profile.php?user=administrator?field=info
    Or however you would put two references together... cuz i think the question mark would be a little hard to separate for the user and the field...
    Then have it so it receives the field "info" from a MySQL database from Administrator's row?

    Thanks upfront

  2. #2
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    Seperate each variable in the URL with an amp:

    Code:
    http://www.mysite.com/index.php?var1=1&var2=2
    And then use $_GET['var1'] and $_GET['var2'] to retrieve the values.

    Then have it so it receives the field "info" from a MySQL database from Administrator's row?
    I don't understand the question.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

Bookmarks

Posting Permissions

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