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 Read more
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 Read more
Hi guys in this tutorial we will learn how to type cast or convert an array into object and object into array. It is simple to type cast a value in php. You will see how it is easy to change type in php for variable value. Let us see example to get understand in better way. How we print array value?
How we print object value ?
Now Read more
In this tutorial we will discuss how to create dynamic Pie Chart in PHP with MySQL. A graph which is creating to display records in proportion within a circular chart in form of sectors is known as Pie Chart. Each sector is proportion of total and total value of pie is always 100 percent. There are other type of charts also like line/area chart and bar chart but in this tutorial we will discuss about Pie chart.Dynamic Read more
In previous article we have discussed that MySQL is depreciated and their alternative options are MySQLi and PDO(PHP Data Object) . In that you have learned how to set up connection using MySQLi in PHP with procedural and object-oriented approach. In this tutorial you will get how to set up a PHP MySQL connection using PDO for database integration. PDO is an interface which is used for database access.Advantages:Read more
Dynamic content loading for webpage is simple approach of loading page content by click on navigation menu link without page refresh. One of my blog readers requested me to write this tutorial. So, in this post we will discuss how to load dynamic content using jQuery and AJAX. Page content loads faster without refreshing it with jquery and JAX in PHP.In this post page title and contents are stored in database. Page Read more