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. thank for your article it helps us to our studies
View Tutorial          By: shane at 2010-07-21 19:12:22

2. Very Nice Example...!!thanks
View Tutorial          By: Shafique khan at 2013-01-22 18:58:22

3. How can I execute the JSP program?
Please

View Tutorial          By: Suresh at 2013-01-04 06:43:10

4. good resource
View Tutorial          By: AJITH C K at 2013-04-10 17:45:51

5. Thanks for the Information. Its very useful
View Tutorial          By: Husain at 2009-03-04 13:30:38

6. pls send to me example about stacks
becaus

View Tutorial          By: suliman at 2011-12-10 08:02:01

7. Plse Send me The Code For Sms Application to My Ma
View Tutorial          By: Santoshb at 2010-09-08 07:08:55

8. Great tutorial. THX.
View Tutorial          By: Velvetin at 2009-03-21 11:05:19

9. Hey thanks for your tutorial. But i'm getting an e
View Tutorial          By: acc at 2013-07-25 14:30:50

10. Nice one really helpful thanks
View Tutorial          By: Shashikant at 2012-01-06 12:00:45