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. That was nice.
View Tutorial          By: Arnab at 2007-10-17 02:02:11

2. ya its correct but tell me where is main method???
View Tutorial          By: kashiNATH MOKASHI at 2011-08-20 05:33:19

3. I have some questions : 1) Which type of GC used
View Tutorial          By: SP at 2013-06-04 15:48:59

4. i have same error sir..
Error applying tran

View Tutorial          By: CRUDZ at 2013-10-13 05:22:24

5. good understandability code
View Tutorial          By: Raja Mahendra Kumar at 2009-03-05 03:11:26

6. Hi Johnny,

did you check whether th

View Tutorial          By: Frank at 2010-11-13 13:16:57

7. Thanks very much.
View Tutorial          By: Haritha at 2011-05-26 07:56:06

8. estimado lo que sucede es que solo cuando es Strin
View Tutorial          By: hormiga at 2013-01-07 00:11:54

9. //Convert numbers to word as per Indian number sys
View Tutorial          By: Abhishek at 2011-09-05 10:42:20

10. Thanks a lot! This really helped!!!
View Tutorial          By: SuperSeppel13 at 2009-04-14 04:25:06