monkeypaw201 Posted November 24, 2008 Share Posted November 24, 2008 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\path\to\page.php on line 65 I have no idea why.. line 65 is this.. $row_flightplan = mysql_fetch_array($flightplan); no clue why... here is somemore code above and below.. .... else { mysql_query("INSERT INTO `flightplans` (....) VALUES (....)"); $flightplan = mysql_query("SELECT * FROM `flightplans` ORDER BY `id` DESC"); $row_flightplan = mysql_fetch_array($flightplan); mysql_query("INSET INTO `flights` (....) VALUES (....)"); mysql_query("INSERT INTO `logs` (....) VALUES (....)"); } ..... Link to comment https://forums.phpfreaks.com/topic/133977-solved-mysql_fetch_array-issue-dont-know-whats-going-on/ Share on other sites More sharing options...
htzone Posted November 24, 2008 Share Posted November 24, 2008 Have you checked to see if mysql_error() throws anything back? Link to comment https://forums.phpfreaks.com/topic/133977-solved-mysql_fetch_array-issue-dont-know-whats-going-on/#findComment-697418 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.