alvinchua Posted May 10, 2007 Share Posted May 10, 2007 $query ="SELECT OverdueAmount FROM tenaga where user ='user1'"; $result=mysql_query($query); $myrow = mysql_fetch_array($result); the second part ... $query2 ="SELECT AccountBalance FROM personal details where CusName ='user1'"; $result2=mysql_query($query2); $myrow2 =mysql_fetch_array($result2); when i did the second part .. the error appear as the subject...any1 knoe how to fix it ??? Quote Link to comment https://forums.phpfreaks.com/topic/50770-solved-mysql_fetch_array-supplied-argument-is-not-a-valid-mysql-result-resource/ Share on other sites More sharing options...
mmarif4u Posted May 10, 2007 Share Posted May 10, 2007 this one be: user ='user1'"; this: user ='$user1'"; Quote Link to comment https://forums.phpfreaks.com/topic/50770-solved-mysql_fetch_array-supplied-argument-is-not-a-valid-mysql-result-resource/#findComment-249597 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.