Re: Select statement drops 10th digit during table lookup?
| From: | Ronan Chilvers | Date: | Fri, 13 Jun 2003 08:30:46 +0000 |
| Subject: | Re: Select statement drops 10th digit during table lookup? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28593@lists.php.net to get a copy of this message | ||
On 13 Jun,2003 at 0:48 G & E Holt wrote:
> $resolved=$DB_site->query_first("SELECT * FROM country WHERE
> '$resolvingip' BETWEEN ip_from AND ip_to");
Don't think you should have the '' around the ip number. Does that help?
Ronan
e: ronan@thelittledot.com
t: 01903 739 997
w: www.thelittledot.com
The Little Dot is a partnership of
Ronan Chilvers and Giles Webberley