Tag Archives | php

PHP Hello World Example

Create a file named helloworld.php and put it in your local web server’s root directory. Write the following code. Run Program Now you can access helloworld.php using http://localhost/helloworld.php on your web browser.

Continue Reading ... Comments { 0 }

PHP Syntax

A PHP script always starts with <?php and ends with ?>. A PHP script can be placed anywhere in the document. You can also use shorthand PHP tag if shorthand-support is enable on the server.

Continue Reading ... Comments { 0 }

Using JQuery Ajax and php to fetch data from a mysql database

In this article, you will see how to fetch data from a mysql database using JQuery AJAX and php. JQuery AJAX allows us to update a page’s content without reloading the page. 1. Create Table Create employee table and insert records. 2. Create PHP Now create a php file that connects to database and encode […]

Continue Reading ... Comments { 9 }