Archive

Category Archives for "PHP"

Connect to MySQL database using php

Connect to MySQL database using php, this is simple php code for connecting to mysql database using php and then selecting the database. Here i’m using three php functions one is mysql_connect and the other one mysql_select_db, and the next is mysql_error function. First i’ll use mysql_connect() for connecting to database, next mysql_select_db() for selecting […]

Continue reading

Simple Contact Form script in PHP

This is a Simple Contact Form script in PHP. First we are creating form in html. After that sending the mail to specific mail address. We are checking all the post values are set or not, next we are checking for the values are empty or not. After that if values are not empty then […]

Continue reading