Re: How to save a file to a blob field?
| From: | Tom Mathews | Date: | Mon, 12 Feb 2001 11:03:11 +0000 |
| Subject: | Re: How to save a file to a blob field? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-5512@lists.php.net to get a copy of this message | ||
Easier to diagnose if you tell us what the error was?
Winston Valenzuela wrote:
> I'm using ODBC to connect to my Interbase 6 database. Using the code:
>
> $post_stmt = "Insert into
> MSGTABLE(firstname,middlename,lastname,msg_subject,msgbody,remote_ip)
>
> values('$fname','$mname','$lname','$subj','$mssg','$remote_ip')";
>
> and the msgbody field is a blob type. and the data came from a textarea
> field. But i got an error using this insert statement.
>
> How can i do it without an error?
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net