Using wxPython instead of PHP for file uploads to MySQL DB

John,You probably shouldn't store the contents of the file in a text field in

MySQL. Use a blob instead, as that's meant for binary data. Then you don't
have to worry about escaping strings or anything like that.

  http://dev.mysql.com/doc/refman/5.0/en/blob.html-Jeff

_______________________________________________
wxpython-users mailing list
wxpython-users <at> lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

Sorry I didn't clarify that- I am using a longblob object in the Database to
allow the user quite a bit of room to upload files (I am expecting large files).
The error is showing at the query- but not as a query error. I know I must be
missing something easy here.