$title = $in{'title'};
then this is printed to the mysql table when i call this script. However, whenever I add a quotation mark to the title (in the title field in the html form), say like Bro's Graduation, I get an error and it doesn't add to the sql table. may i ask for some suggestions on how to get around this problem? i've read some stuff by searching, but with no success. i clumsily created a subroutine for adding slashes (to escape the 's) for it but that did more harm than good.
please help! thank you!
In reply to Escaping characters by drewboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |