Jump to content

Selection problem with table


thefreebielife

Recommended Posts

<?php	else 
	$sql="select * from users where site=Cash order by uId";
}
$result = mysql_query($sql)
or die(mysql_error()); 
$i = 0;
//grab all the content
while($r=mysql_fetch_array($result))
{	?>

 

That code displays nothing, I assume there is a problem with the "where" because i get this error

 

"Unknown column 'Cash' in 'where clause'"

 

Thanks,

Jared

Link to comment
https://forums.phpfreaks.com/topic/66379-selection-problem-with-table/
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.