Archive

Category Archives for "PHP"

Connect to MsSQL Database using PHP

Connect to MsSQL Database using PHP, this is a simple article for connecting to MSSQL Database using PHP. Here we are using two functions one is mssql_connect and mssql_select_db functions. mssql_connect is used for connecting to database, and mssql_select_db is used for selecting db. Use this code for connecting to mssql database using php. Crud […]

Continue reading

Connect to Mysqli database using PHP5

Connect to Mysqli database using PHP5, this is simple article for connecting to Mysqli database using PHP5. Here i’ll use two methods for connecting with mysqli database. One is procedural and the other one is object oriented. For the first one i’m using is mysqli_connect. And the next one is Object Oriented. Just pass the […]

Continue reading

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