Comment on Tutorial - Handling BLOB in PHP and MySQL By Andi, Stig and Derick



Comment Added by : Lasse Christiansen

Comment Added at : 2010-05-01 01:58:14

Comment on Tutorial : Handling BLOB in PHP and MySQL By Andi, Stig and Derick
Hi Andi, Stig and Derick!

Nice turorial! However, I think you are using a wrong argument in "$stmt->bind_param("s", $data);"

Using s (string), I cannot get this command working, however, by using "b" for blob (see PHP manual: http://php.net/manual/en/mysqli-stmt.bind-param.php ) the script is perfectly working.

My MySQL and PHP versions:

PHP 5.3.2
MySQL 5.1.45


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. HI,

can any one tell me small but s

View Tutorial          By: Amujuri Vivek at 2013-01-08 02:48:50

2. Thanks for to solve my doubt.
View Tutorial          By: ANJILAIAH at 2010-10-08 09:46:11

3. this site is very useful to the freshers ...

View Tutorial          By: sweth at 2009-09-02 18:53:46

4. very simple to understand
View Tutorial          By: chermaraja at 2010-05-26 00:00:05

5. Simple Example. Understood. Thanx.
In aksha

View Tutorial          By: Amila Nadanda at 2011-07-28 06:21:05

6. hi could u tell me how to download a file using se
View Tutorial          By: akki at 2013-02-19 05:52:03

7. plz answr for questions about time out problem whl
View Tutorial          By: rrai at 2013-08-26 06:06:57

8. I want to know more about Java Garbage collection,
View Tutorial          By: Prosenjit Kundu at 2010-05-08 09:42:40

9. Thank you
View Tutorial          By: dara at 2009-12-19 02:46:52

10. Hi.. I tried it on blackberry... I have a problem
View Tutorial          By: jeremejazz at 2011-01-12 22:56:02