added basic php and mysql code