darkfreaks Posted December 2, 2008 Share Posted December 2, 2008 ok i am getting "error: mysql_fetch_array is not a valid argument on line5" <?php function fetch($query) { return mysql_fetch_array(mysql_query($query)); //line5 } ?> Link to comment https://forums.phpfreaks.com/topic/135075-solved-mysql-error/ Share on other sites More sharing options...
awpti Posted December 2, 2008 Share Posted December 2, 2008 Nothing wrong with that code. Problem is with your query. Link to comment https://forums.phpfreaks.com/topic/135075-solved-mysql-error/#findComment-703558 Share on other sites More sharing options...
petchy Posted December 2, 2008 Share Posted December 2, 2008 so it could be another script that needs to match upto it that i need to find cause it all matches the database Link to comment https://forums.phpfreaks.com/topic/135075-solved-mysql-error/#findComment-703561 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.