Results 1 to 3 of 3

Thread: !!!Emergency need help creating session!!

  1. #1
    Join Date
    Sep 2004
    Posts
    356
    Rep Power
    0

    Exclamation !!!Emergency need help creating session!!

    ok I have a field call Text1 and another one call Text2 I want to join them when form is submitted they should be join in a session variable how do I do that

    Example:

    Text1= ABC
    TExt2= 123

    User submits this info

    the session should store something looking like "ABC123" how can I get this info need reply before 12am today please

  2. #2
    Join Date
    Feb 2003
    Posts
    3,184
    Rep Power
    0

    Default Re: !!!Emergency need help creating session!!

    Code:
    session_start();
    $SESSION['text3'] = $text1 . text2;
    print($SESSION['text3']);
    make sure session_start(); is at the top of every page you want to use the session in

  3. #3
    Join Date
    Sep 2004
    Posts
    356
    Rep Power
    0

    Default Re: !!!Emergency need help creating session!!

    thanks man u came but I stop panic and figure it out for myself
    Last edited by MadHacker; Jan 28, 2005 at 01:01 PM.

Posting Permissions

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