i have this string:
$notes = "hello, i'm tired today.";
and this sql insert statement that inserts the above string as $notes:
$sql = "insert into ison_notes (name,email,notes,yymmdd) values ('$name','$email','$notes','$yymmdd');";
it error's on the appostrophe, and i get errors if i do this before the sql statement:
$notes = ereg_replace(''', '''', $notes);
and i do not know how to replace the ' with a '' for sql to take? any ideas? i have tried two approstrophes and a double quote...???