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

Java program to get location meta data from an image

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

Archived Comments

1. plz give me for css coding
View Tutorial          By: anil mani at 2008-04-19 01:20:06

2. good job.. i understand it clearly..
its in

View Tutorial          By: xmplexd at 2010-08-04 02:12:30

3. Can u please help me. I run the SerialConnection p
View Tutorial          By: Praseetha.K at 2009-01-23 09:34:35

4. can you send me comm.jar required for this project
View Tutorial          By: rahul at 2012-10-20 12:21:42

5. Is so easy work with FacesContext. For me, the get
View Tutorial          By: Fred at 2009-03-11 08:42:59

6. i'm a student and new to all these HTML and JSP.
View Tutorial          By: sillee at 2009-08-13 03:22:14

7. This tutorial is really Good and enhance my desire
View Tutorial          By: Yasin at 2011-07-09 10:04:57

8. nice example for understanding abstract class,,,bu
View Tutorial          By: Aavez Sk at 2012-01-17 09:44:36

9. It encourage the learners

Learners

View Tutorial          By: sureshkumar p at 2010-12-22 04:13:04

10. Very cool one, thanks, got the concept clear
View Tutorial          By: black boot at 2010-04-18 08:20:20