Posted by spacerat on 10/16/06 14:17
I am using ADODB "http://adodb.sourceforge.net/" to get $results.
i then use
foreach ($results as result) {
<td><?php echo $result['value1']; ?></td>
<td><?php echo $result['value2']; ?></td>
}
now i need to parse a $result['value1'] in a $_SESSION['value1'] that
needs to be used in another select statement.
i cant use <td><?php $_SESSION['value1'] = $result['value1'];
?></td>
because that just stores the last "value1" into $_SESSION.
and the same goes for <td><?php $result[0]['value1']; ?></td>
any ideas im going crazy here :(
[Back to original message]
|