Woyano Home - My Friends - My Topics - Inbox - Join - Login
Mickey's Woyano
Welcome to my world

Subscribe to
My Woyano network and Friends list!

Enter your email:

How do I keep from getting exceptions with special characters while inserting into the database

Rate this:
By Mickey (Contact - View My Woyano)
Published Tue 30 Jun 2009, 113 Views, 0 Comments

I get this error

SQL/DB 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 's the message for the friend. Besides the exclamation point every character seem' at line 2]
$(function(){ $("#accordion").accordion({ header: "h3" }); $('#tabs').tabs(); $('#dialog').dialog({ autoOpen: false, height: 480, width: 600, buttons: { "Ok": function() { $(this).dialog("close"); }, "Cancel": function() { $(this).dialog("close"); } } }); $('#dialog_link').click(function(){ $('#dialog').dialog('open'); return false; }); $('#dialog_link, ul#icons li').hover( function() { $(this).addClass('ui-state-hover'); }, function() { $(this).removeClass('ui-state-hover'); } ); }); $(document).ready(function() { // Tell jQuery that our div is to be a dialog $('#contactbus').dialog({ autoOpen: false, height: 300, width: 277 }); $('#bttn1').click(function() { $('#contactbus').dialog('open'); }); }); $(document).ready(function() { // Tell jQuery that our div is to be a dialog $('#tellafriend').dialog({ autoOpen: false, height: 340, width: 277 }); $('#bttn2').click(function() { $('#tellafriend').dialog('open'); }); });
 
When i'm trying to use a ! or ' from a textarea.

I'm sure there is an easy solution using php i'm just not sure where to start. Thanks for any help anyone can give me.

This Item
Feature
Flag as Adult
Flag as Inappropriate
Category: Knowledge, Questions,
Tags: ezsql, questions
Share it
Link to this item:
Bookmark this item: RSS Feed

People who liked this item

..

    0 Comments

Please Login to Add Your Comment   ..or..  

Replying to comment by