[snip]
$sql = "SELECT * FROM users WHERE username='$username' AND
password='$password'";
$result = odbc_exec($dbConnection, $sql);
while ($rows = odbc_fetch_array($result)) { //This doesn't work with
odbc_fetch_object either
print $rows->COLUMNNAME;
}
[/snip]
For odbc_fetch_array you wo
Hey people,
Anyone know much about odbc_fetch_array() or odbc_fetch_object() functions
in php. My while loop keeps breaking while using this function. I'm trying
to grab a row from the result returned by the database query and for testing
purposes, just printing out each item in the row as follo
2 matches
Mail list logo