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
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program 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
Archived Comments
1. nice one
View Tutorial By: dhusor at 2012-05-08 17:38:50
2. Good article..
View Tutorial By: Sudarshan at 2011-03-28 02:57:53
3. thank you for ur programs.........
View Tutorial By: NAGARAJRATHINARAJ at 2012-01-24 14:39:19
4. Cool it help me a lot
View Tutorial By: urdu sms at 2009-10-06 12:16:20
5. ----- main---
Inside Run ...
OK 0 <
View Tutorial By: pushpam at 2009-01-23 06:14:07
6. hi can u send me the complete working code for sen
View Tutorial By: Amit Adhikaree at 2011-03-22 17:47:49
7. i want to learn j2me basic to ....
View Tutorial By: gopiraj at 2012-12-21 11:52:01
8. Pl provide me code to send sms using USB modems.
View Tutorial By: Prayag Singh at 2010-09-27 22:50:34
9. thankyou
View Tutorial By: gomu at 2014-07-08 09:19:13
10. Awesome One....... Thanx...... m new to java...and
View Tutorial By: jayanta at 2010-02-05 04:35:34