I am trying to allow users to input data. However I stumbled upon a key error when i tried to use the '. In the past i have done a simple
However, I now have abour 15 fields to check for this similar character. Is there any way to quickly and easily replace them all? I was thinking of manipulating the entire post array at once, or possibly there is a built in mysql function? Thanks.
Code:
$Name = str_replace("'",'`',$Name);