Monday, 14 April 2014

why we use this function mysql_real_escape_string()

when we are entering data in to mysql database and that contain the single quote. that time data is not entering into database and showing error then we we use this function . there are other function to remove the the to remove the quote but this one is easier one thank you

Get only domain name from email using PHP.

public function getDomainName ( $business_email ){ $domain_name = substr ( strrchr ( $email , "@" ), 1 ); echo $...