Re: How do I dump a blob or text into a mySQL Database?
| From: | Brad Pauly | Date: | Mon, 14 Jul 2003 17:51:22 +0000 |
| Subject: | Re: How do I dump a blob or text into a mySQL Database? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155133@lists.php.net to get a copy of this message | ||
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 enough when I run the query I get no error, and can print it and run it through a mySQL terminal, and it works. Anyone have any ideas?Is $buffer empty? I would start there. - Brad