[PHP] How do I dump a blob or text into a mySQL Database?

2003-07-14 Thread Dan Anderson
I'm trying to split up a file and dump it into a mySQL database BLOB. Wherever I run the query: mysql_query(INSERT INTO table (field) VALUES ('{$buffer}')); Nothing ever shows up in the table -- whethere field is a text or a blob and whether I dump in text or binary. Oddly enough when I run

Re: [PHP] How do I dump a blob or text into a mySQL Database?

2003-07-14 Thread Brad Pauly
Dan Anderson wrote: I'm trying to split up a file and dump it into a mySQL database BLOB. Wherever I run the query: mysql_query(INSERT INTO table (field) VALUES ('{$buffer}')); Nothing ever shows up in the table -- whethere field is a text or a blob and whether I dump in text or binary. Oddly

Re: [PHP] How do I dump a blob or text into a mySQL Database?

2003-07-14 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Mon, 14 Jul 2003 at 18:48, lines prefixed by '' were originally written by you. I'm trying to split up a file and dump it into a mySQL database BLOB. Wherever I run the query: mysql_query(INSERT INTO table (field) VALUES ('{$buffer}'));

Re[2]: [PHP] How do I dump a blob or text into a mySQL Database?

2003-07-14 Thread Burhan Khalid
On Monday, July 14, 2003, 8:51:22 PM, Brad wrote: BP Dan Anderson wrote: I'm trying to split up a file and dump it into a mySQL database BLOB. Wherever I run the query: mysql_query(INSERT INTO table (field) VALUES ('{$buffer}')); Nothing ever shows up in the table -- whethere field is a