SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: url

  1. #1
    SitePoint Addict joyce's Avatar
    Join Date
    Aug 2001
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    url

    i tried to pass a value into the second page using the url:

    echo <a href=\"http://www.certifyexpress.com/review/admin/edit_admin_main.php?id=".$data[$i][0]."&cat=".$data[$i][1]."&subcat=".$data[$i][2]."&title=".$data[$i][3]."&desc=".htmlentities(urlencode($desc))."&flag=$flag\">Edit</a>";

    the problem is, the $desc is too long. it's over the limit of the url and therefore it stopped me from passing values over.

    how can i solved this problem?

  2. #2
    Making a better wheel silver trophy DR_LaRRY_PEpPeR's Avatar
    Join Date
    Jul 2001
    Location
    Missouri
    Posts
    3,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you're going to need to pass it through a form using the POST method.
    - Matt ** Ignore old signature for now... **
    Dr.BB - Highly optimized to be 2-3x faster than the "Big 3."
    "Do not enclose numeric values in quotes -- that is very non-standard and will only work on MySQL." - MattR

  3. #3
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    are you the same person? LOL. You're scaring me with the identical avatar! I'm thinking....schizo...multiple personality disorder....group rates!

    Sketch
    Aaron Brazell
    Technosailor



  4. #4
    Making a better wheel silver trophy DR_LaRRY_PEpPeR's Avatar
    Join Date
    Jul 2001
    Location
    Missouri
    Posts
    3,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol i know every time i see that dino i think it's me! error404 (i think that's the name) has the same one too. i need a custom one, but dunno what.

  5. #5
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try a green pepper...lol

    Sketch
    Aaron Brazell
    Technosailor




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
  •