Jump to content

[SOLVED] Inner join problem


ballouta

Recommended Posts

Hi

 

i wrote a query that is casuing a problem:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/simwsim/public_html/CMS/members/index.php on line 42

 

the query is:

<?php
$query = "SELECT members.usernme, members.name, members.emal, members.country, members.tele, members.paword, members.resler, credts.nums
 FROM members 
 INNER JOIN credts
 ON members.usernme = credts.usernm ";
$result = mysql_query($query);
while( $row = mysql_fetch_array($result)) //this is line 42
?>

 

please help

Link to comment
https://forums.phpfreaks.com/topic/159222-solved-inner-join-problem/
Share on other sites

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.