Re: Inserting a php file into a mysql database
| From: | John Meyer | Date: | Sun, 25 Dec 2005 22:07:44 +0000 |
| Subject: | Re: Inserting a php file into a mysql database | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-40923@lists.php.net to get a copy of this message | ||
On Sunday 25 December 2005 3:01 pm, Thomas Bonham wrote:
> Hello,
>
> I am trying to insert a php page into a database. I need to know if
> there is something that I need to do when setting up the table, also is
> there something to do with the code.
>
> Thank You for your help
>
> Thomas
Well, you could use fopen() to open the file, get a pointer, then insert the
contents into the database. I'm wondering why you need to insert a php page
into a database, though.
--
Dr. Joseph Dolan: Isn't there a children's book about an elephant named Babar?
Fletch: I don't know. I don't have any.
Dr. Joseph Dolan: No children?
Fletch: No, elephant books.