atomix
Dec 5th, 2003, 01:23 PM
...
while (odbc_fetch_row($rec)) {
$str1 = $str1.odbc_result($rec, "Id");
}
while (odbc_fetch_row($rec)) {
$str2 = $str2.odbc_result($rec, "Id");
}
$str1 = "1234", and is correct!
$str2 = ""
How can I use more times odbc_fetch_row() for the same recordset (to have $str2 = "1234" too) ?
while (odbc_fetch_row($rec)) {
$str1 = $str1.odbc_result($rec, "Id");
}
while (odbc_fetch_row($rec)) {
$str2 = $str2.odbc_result($rec, "Id");
}
$str1 = "1234", and is correct!
$str2 = ""
How can I use more times odbc_fetch_row() for the same recordset (to have $str2 = "1234" too) ?