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. good explanation .... Thanks
View Tutorial          By: nazeer at 2012-05-24 09:18:19

2. Error loading SolarisSerial: java.lang.Unsatisfied
View Tutorial          By: koteshwar at 2011-02-05 05:33:19

3. send c++ programs on every topic of c++
View Tutorial          By: mandeep at 2009-07-11 00:50:23

4. hi the code is working fine till step5 and am gett
View Tutorial          By: raj at 2008-09-16 22:55:40

5. It is a good tutorial but I think the "Instru
View Tutorial          By: Jaypee at 2010-10-10 22:40:50

6. Really Good........!
View Tutorial          By: Anonymous at 2009-04-01 22:33:19

7. Very Nice Explanation.
View Tutorial          By: Anuj Bansal at 2012-08-25 12:23:59

8. it is very useful and in understandable manner
View Tutorial          By: Deepika at 2012-03-26 05:10:15

9. I am using MacOSX 10.5.4 and only enabling the mod
View Tutorial          By: Sachin at 2011-03-26 00:23:05

10. Thanks and easy to understand.....impressive logic
View Tutorial          By: Dj at 2009-11-26 13:33:34