Vote count:
0
I have moved to IIS 8 in PHP 5.8. I am trying to collect data from a table, i know my code is correct, but seems to be not working, probably because of the php version, can anyone help me?
here's my code
$query = odbc_exec($conn, "SELECT * FROM member");
while($rows = odbc_fetch_array($query)) {
/*
$querystring = "INSERT INTO oldusers (username, password, regdate) VALUES ('$rows['userid']', '$rows['passwd']', '$rows['registdate']')";
$query2 = odbc_exec($conn, $querystring);
odbc_free_result($query2);
*/
echo $rows['userid']." ".$rows['passwd']." ".$rows['registdate']."<br>';
}
thanks in advance.
asked 22 secs ago
php echo data from fetch array on 5.8
Aucun commentaire:
Enregistrer un commentaire