comparison and logical operators for common web development languages
Monday, January 9th, 2006Comparison and Logical operators are used for testing data values. Sadly the operators to use are not consistent across languages. This article summarises the most common operators for the key web development languages:
Javascript
ASP
PHP
SQL
For SQL we checked both mySQL and MS SQL. All operators listed here should work in both.
Comparison
Operator
Javascript
ASP
PHP
SQL
Less than
<
<
<
<
Less than or […]