Greater than symbol seen as php end
-
Hello,
If I use the following code (part of a MySQL query in php)
$searchStmt .= ("price >='$search_low' AND price <='$search_high'");
The Greater than and Less than operators cause a problem and are seen as the end of the php code block. It’s fine if I use
$searchStmt .= ("price =='$search_low' AND price =='$search_high'");
I can’t use < > instead – they are not seen by MYSQL as operators
Any way to solve that?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Greater than symbol seen as php end’ is closed to new replies.