Pass recordset content to Session Variable
hi Guys,
Can any one tell me the correct way to pass recordset content to Session Variable? i have been try for many times,but still cannnot get it. Here is my script:
<?php
if (!session_id()) session_start();
$_SESSION['Var'] = $row_Var_RS['Var_ID']?>
i also tried to update database using Webassist DataAssist update database, the only problem is, when i tried to get value from recordset, it got nothing from Recordset.
can any one tell me what wrong is it?
thanks