wow thanks for the prompt reply,
Yes i have to check if incoming variables exit with isset, empty and etc... but as in my code, given that 2nd condition 'strlen($POST['name'])' which i think indirectly checks if the variable is set. I am assumming the 1st condition is redundent.
or in other words 'if( strlen($POST['name']))' alone doesn't do the same job.
thanks