mysql int_val?
| From: | bill | Date: | Wed, 14 Feb 2001 17:12:37 +0000 |
| Subject: | mysql int_val? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-39679@lists.php.net to get a copy of this message | ||
Does mySQL have an equivalent to PHPs intval() function?
I have fields whose contents are "Less than 100", "Less than 200", "Less
than 300", and I want to do a
SELECT * FROM my_table WHERE $mynumber <= intval(myfield)
thanks,
bill