SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Hybrid View

  1. #1
    SitePoint Member Zellan's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have read lots of tutorials but none have covered this subject (i think), I know it has something to+do+with+plus+signs.

  2. #2
    psycho
    Join Date
    May 2000
    Location
    London
    Posts
    283
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    index.php?ID=4&name=JamesSmith





    seperate each entity with &


    -James

  3. #3
    SitePoint Member Zellan's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no what i ment was to make a query like this:

    index.php?name=James+Smith

    if i put

    $fullname = "James Smith"

    the outcome of

    index.php?name=$fullname

    will be

    index.php?name=James


    ???? solution ????

  4. #4
    SitePoint Wizard
    Join Date
    Sep 1999
    Posts
    1,390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I believe that is the urlencode function of PHP.

    You'd use something like:

    $fullname = urlencode

    but I am not sure.

    Search Kevin's tutorial and you are sure to find it.


  5. #5
    SitePoint Wizard
    Join Date
    Sep 1999
    Posts
    1,390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I forgot to say that if "James Smith" (w/o quotes) is entered in the form, it will be converted to "James+Smith" (again without quotes). PHP will recognize it as "James Smith" whenever you call it.


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
  •