Jump to content

[SOLVED] mysql issues


taith

Recommended Posts

hey everyone  :D

 

$q=mysql_query("SELECT * FROM `products` WHERE `price`<='100'") or die(mysql_error());

 

that should find every product that's under 100? no?

 

the price column is a text field, but holding only a price... and for some reason, that query is not finding any of the products under 100

Link to comment
https://forums.phpfreaks.com/topic/101077-solved-mysql-issues/
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.