Fw: [PHP-GENERAL] Column -> array
| From: | Kevin Beckford | Date: | Sun, 04 Jun 2000 03:26:52 +0000 |
| Subject: | Fw: [PHP-GENERAL] Column -> array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-963@lists.php.net to get a copy of this message | ||
<snip>
> I have a column, that contains some IP addresses like this :
>
> 192.168.42.0.0\n192.168.42.0.1\n192.168.42.0.2
>
> etc (so actually every IP address starts on a new line)
</snip>
Looks like you are dealing with a file here, since you say 'newline' instead
of
<br>. Use file() to do what you want.
http://www.zend.com/manual/function.file.php