add php and sql