added sql syntax in php files