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



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. When i run the program,Iam getting this

View Tutorial          By: anitha at 2008-12-17 21:37:36

2. Hi All,

I am new to J2ME Applicatio

View Tutorial          By: golemnagesh at 2010-12-05 22:43:50

3. You are good work ,an axplane is so gread

View Tutorial          By: chetan at 2009-06-08 11:58:51

4. Buenisimo tutorial, este rebuena la cosa
Gr

View Tutorial          By: Popoca at 2010-04-20 15:50:29

5. How make comunication between client and server, s
View Tutorial          By: alex at 2009-01-30 07:12:49

6. I set my eclipse as describe above.
I also

View Tutorial          By: Anonymous at 2012-03-25 02:12:52

7. its is good..I am developing a Form based applicat
View Tutorial          By: Bhavani at 2010-10-18 01:39:41

8. Hi Binod,

Since JSP code is execute

View Tutorial          By: Aathi at 2009-05-28 21:20:10

9. thank you very much
finally i understood th

View Tutorial          By: Marina at 2009-11-29 14:17:43

10. Yes, finaly toString start making sense to me, tha
View Tutorial          By: Ted at 2010-04-10 19:15:50