Re: [nyphp-talk] Passing info entered into HTML FORMS into SESSION variables.

2007-11-18 Thread Michael Southwell
PaulCheung wrote: $t = $row['data']; $u = $row['result']; $v = $row['note']; How are you populating the $row array? I would have expected this to be: $t = $_POST['data']; Doing it this way you should have no problem. And by the way, you don't need the $t etc variables unless you ar

Re: [nyphp-talk] Passing info entered into HTML FORMS into SESSION variables.

2007-11-18 Thread David Krings
$_SESSION['data'] = $t; $_SESSION['result'] = $u; $_SESSION['note'] = $v; echo(' data = ' .$t. ' result = ' .$u. ' note = ' .$v. ""); ?> Did you anywhere start a session? You need a session_start() in order to work with sessions. I recommend starting the session before y