View Single Post
  #11 (permalink)  
Old 06-03-09, 02:52 PM
black-dog's Avatar
black-dog black-dog is offline
Senior Member
 
Join Date: May 2008
Location: Newcastle under Lyme
Posts: 205
Send a message via Yahoo to black-dog
Default

Quote:
Originally Posted by perplexed View Post
Black-dog first of all most importantly many thanks for the replies. I was fearing that my requests for help would have exceeded peoples patience limits.
I'm a coder - I have endless patience...

Quote:
Originally Posted by perplexed View Post
was going to post the form scripts and complete script for the form action but thought it would either bore/annoy you or take up to much space on the forum. Having said that they are very small.
Usual advice is to cut down scripts to the minimum that still shows the error

Quote:
Originally Posted by perplexed View Post
I will indeed change all my scripts across my site to use the (new to me) 'mysql_real_escape_string'. First of all i need to get the database running again. It's not accessible to others anyway, as only myself has a username and password for it.
mysql_real_escape_string() won't solve this problem, but it's good practice to sanitise any user input, even if it is password protected.

Quote:
Originally Posted by perplexed View Post
Also, scottie mentioning php.ini now reminds me my parameter print out was obtained from the php documentation. I was searching for it in the mysql docs.
You really don't need to be making any changes here, even if you can.

Quote:
Originally Posted by perplexed View Post
I apologise if this is all now more fitting in the php forum???
Oh we'll probably let you off...
__________________
black-dog
4theweb.co.uk Web stuff
slipperyhill.co.uk Band
Reply With Quote