Re: Trying to put ips into database
| From: | Daniel C. BAUFAY | Date: | Fri, 08 Feb 2002 21:14:25 +0000 |
| Subject: | Re: Trying to put ips into database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-84053@lists.php.net to get a copy of this message | ||
And for efficiency you could convert and store IP addresses in numeric format.
See INET_NTOA and INET_ATON.
Subject:
Re: [PHP] Trying to put ips into database
From:
Matt Drake <ms-drake@ux1.cso.uiuc.edu>
Date:
Fri, 8 Feb 2002 11:52:26 -0600 (CST)
To:
<php-general@lists.php.net>
On Fri, 8 Feb 2002, Dennis Moore wrote:
Not sure what your exact problem is but I did notice you had back ticks(`) in your insert statement. You should be using ('). You may need a where clause in your insrt statement unless you want to populate all rows. Just a couple of thoughts.