While uploading a photo to Wall Module I am not able to to include Single or Double quotes in the Photo description. If I do the photo will not upload and I receive an Error message in my email from Cron Check. So if I say ( that's the way it is) the single quote in thats will fail the Query. Remove the Quote and photo uploads.
zQuery:
INSERT INTO `bx_wall_events`(`owner_id`, `object_id`, `type`, `action`, `content`, `title`, `description`, `date`) VALUES('0', '5', 'wall_common_photos', '', '<div class=\"wall-post-media\">
<div class=\"wall-pm-thumbnail\" style=\"width:144px; height:144px;\">
<a href=\"http://www.fish4bucks.com/m/photos/view/SSPX0055-2011-03-01-0\">
<img class=\"wall-pm-thumbnail\" src=\"http://www.fish4bucks.com/templates/tmpl_uni/images/spacer.gif\" style=\"width:144px; height:144px; background-image:url(http://www.fish4bucks.com/m/photos/get_image/browse/e607ee0eba957ff09976640ff5991cc5.jpg);\" title=\"SSPX0055\" alt=\"SSPX0055\" />
</a>
</div>
Captain Greg on the 53\'Hatteras from the bridge just another day at the office
<div class=\"wall-clear\"> </div>
</div>', 'Captain_Greg _wall_added_photos', 'Captain Greg on the 53'Hatteras from the bridge just another day at the office', UNIX_TIMESTAMP())
Mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Hatteras from the bridge just another day at the office', UNIX_TIMESTAMP())' at line 1
Found error in the file '/home/fish4buc/public_html/modules/boonex/wall/classes/BxWallDb.php' at line 60.
Called 'query' function with erroneous argument #0.

