Jump to content

Can mysql querys include > and < symbols?


Freid001

Recommended Posts

Hi I was just wondering can mysql querys include > and < symbols for example mysql query where value > 'value' because below you can see a mysql query I am using the query finds a user in the data base who's location = the users and XP > than the users. However when I run the query it find a user in the correct location but does not seem to showing users with a greater XP?

 

$user = mysql_query("SELECT * FROM Game WHERE XP>'$MAL2' AND Location='$player1location' ORDER BY Rand() LIMIT 1")

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/238899-can-mysql-querys-include-and-symbols/
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.