Hey,
First time I've encountered this problem. Basically, I want to insert URL data into a field in my database. I get the URL from a form using $_POST.
When the form is submitted it just returns an error
I've tried addshasles, urlencode (hence the %3A etc). I've google'd for a while, can't get why. It's submitted normally as text. Anyone care to help?
First time I've encountered this problem. Basically, I want to insert URL data into a field in my database. I get the URL from a form using $_POST.
When the form is submitted it just returns an error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'http%3A%2F%2Fwww.antsta.com%2F')' at line 1
I've tried addshasles, urlencode (hence the %3A etc). I've google'd for a while, can't get why. It's submitted normally as text. Anyone care to help?