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 } ?> Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.