Posts in PHP
In previous tutorial we have seen how to Insert Data into Database using PHP MySQLi and we understand how to add records in mysql database table using PHP. in this tutorial we will discuss how to select data from database table using PHP MySQLi. This post will let you help to understand how to fetch data from database table using PHP MySQLi.
In this tutorial we will see how to Insert Data into Database using PHP MySQLi. First we create a database then table after that we start to insert data into database table using php mysqli.Mysqli is extended version of MySQL. We will use mysqli to access mysql database.
In this tutorial we will see how to create a simple calculator in PHP. Our calculator will do all basic arithmetic operations like addition,subtraction, division and multiplication. In this process I have used two input box to enter operands for mathematical operations and used one select box to choose operators. Calculate button is used to perform action on given operands according to selected operators. I have displayed results in an input box which have readonly attribute so that user can only see the output of calculation but will not be able to change its value. I have created a class file having methods to perform different arithmetic operations.
In this article we are going to see how to validate a HTML form using PHP. We have already written about how to validate form using jQuery. Server side form validation is used for additional security with client side validation. In this tutorial we will see how to use the HTML contact form on the website and validate user input before submitting form using PHP. The contact form have a number of input fields like name,email ,gender, website and comment.
In this tutorial, we are going to see 10 basic and important string functions in PHP. String is basically a sequence of character. In this tutorial, we will see basic important PHP string functions which are commonly used in PHP. These inbuilt function in PHP are used to perform different operations while using string. Knowledge of PHP string functions will make programming simpler for you while you have to use string and perform different operations.