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

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

2007-11-18 Thread PaulCheung
HELP !! What is doing wrong?? I want to take the values entered into HTML FORMS fields ("DATA" "RESULT" and "NOTE") and put them into $_SESSION variables, which is not happening. Has anybody any ideas why not ? ACTUAL OUTPUT:size="2" value="128"> onkeyup="calcCharLeft(this,128);">