Jump to content

[SOLVED] mysql_fetch_array(): supplied argument is not a valid MySQL result resource


alvinchua

Recommended Posts

$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 ???

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.