RE: [PHP] Lines of txt
| From: | Joe Kaiping | Date: | Fri, 28 Sep 2001 00:59:08 +0000 |
| Subject: | RE: [PHP] Lines of txt | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69079@lists.php.net to get a copy of this message | ||
Check out
http://www.php.net/manual/en/function.fgets.php
and
http://www.php.net/manual/en/function.mysql-query.php
-Joe
> -----Original Message-----
> From: Devon [mailto:martin@enet21.com.au]
> Sent: Thursday, September 27, 2001 5:47 PM
> To: php-general@lists.php.net
> Subject: [PHP] Lines of txt
>
>
> Below is my source that sipply opens a file
>
> <?php
> $fp = fopen ("http://localhost/Install.txt",
> "r");
> if ($fp)
> { print"The file exists!"; }
> else
> { print"The file does not exist"; }
> ?>
>
> I Need to be able to a. print the file out b. The file must
> be printed out
> line by line c. Write each seperate line to a mysql data base
> in different
> tables.
>
> Any help would be awsome
> Cheers
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>