Answer by
Sarah33 (32)
you have to add a SLASH before those special chars. This is called "slashing". In most programming languages you have dedicated functions for this. For example in PHP, the function "addslashed" does this:
$uri = addslashes($uri);
$result = mysql_query(" INSERT INTO logfile_records (uri, date) VALUES ('$uri', '$the_date')");