How to redirect another php page with data

Discussion in 'PHP' started by f1wing, May 27, 2010.

  1. #1
    Hi,

    I am new in this forum. I am doing a ticket system and I need the coding to redirect to addLog.php with the client ID when user when on hyperlink ''Add Log to this client''.

    Thanks

    f1wing
     
    f1wing, May 27, 2010 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    Set their is in a session variable and access it on the next page. You can also encode it in the url, or use a form to post to the next page. Personally, if it is a link we're talking about, I would either put the variable in the url, or just set a session variable.
     
    jestep, May 27, 2010 IP
  3. f1wing

    f1wing Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks,

    I think the session variable will be useful.

    Thanks again.
     
    f1wing, May 27, 2010 IP