Untitled $myrow[guest_name]="asdf"";
$myrow[guest_name]="asdf'";
$guest_name=addslashes($myrow [guest_name]);
//$guest_name=str2js($myrow[guest_name],"'");
$dele_mess="Do you really want to delete this message? nMessage name: $guest_name($myrow[guest_ip])"."nMessage time: $myrow[guest_time]";
echo "<script>"; <br>echo "delete_mess="$dele_mess"" ; <br>echo "</script>";
?>
" onClick='return rec_delete(delete_mess)'>Delete