Hi All,
I read alot about using slashes and magic quotes to stop the use of people running commands through forms.
Could someone explain how i would add the code to the following.
$company_name = $POST['company_name'];
$first_name = $POST['first_name'];
$surname = $POST['surname'];
$add_1 = $POST['address1'];
$add_2 = $POST['address2'];
$town = $POST['town'];
$county = $POST['county'];
$p_code = $POST['p_code'];
$h_tel = $POST['h_tel'];
$m_prefix = $POST['m_tel'];
$m_tel = $POST['m_prefix'];
$email = $POST['email'];
$username = $POST['username'];
$password = $POST['password'];
Im hoping that once i have the code to use in the above I will be able to use this with all the forms that post information to the database, am i correct in saying this?
Thanks in advance.