Using jQuery AJAX and PHP how to fetch data from a MySQL database table as JSON format. The PHP script retrieves the MySQL tables records and send to client side jQuery Script as JSON string format. This tutorial also explains how to retrieve data from MySQL database in JSON format using PHP, AJAX & jQuery… Continue reading Using jQuery AJAX and PHP how to fetch MySQL table records array as JSON format
Category: PHP Tutorials
PHP mysqli code example to search MySQL database
In the following PHP program I have accessed the MySQL database (using PHP’s object oriented mysqli extension ) by a PHP function generated by me, and fetched a “MySQL database table” column value (Departments column) based on some key value in another column ( Serial ). So in a nutshell this program shows how –… Continue reading PHP mysqli code example to search MySQL database
Add custom menu, Add theme locations & register new menu
Wordpress developers guide to add custom menu in a new wordpress theme. Adding theme locations, menu locations, register new menu, menu locations and integrate menu in templates using register_nav_menu & wp_nav_menu functions.
PHP Syntax- heredoc, string, variables and constants, logical operators
PHP Tutorial- Chapter 1 (PHP Syntax) How to use HEREDOC in PHP with examples, also use easy to use examples in PHP for declaring variables, constants. Also know which tags you can use in PHP script to write PHP code in it.
Upload files using PHP explained
How to upload a file to the server using the PHP script.
PHP Code Example – How to connect MySQL database
The steps to connect MySQL database with PHP with simple PHP code example.
Static Variables in PHP with simple example
Static Variables in PHP with simple example. It retains the local variable value and it donot loose its value at the end of function call.
WordPress problem in localhost- .htaccess causing internal server error 500
When you try to install wordpress in Localhost using WAMP server in Windows many of us faced .htaccess file in wordpress root folder causing internal server error 500 and wordpress don’t run properly.