PHP Scripts – WordPress Tutorials

In this tutorial we are going to learn “How to Submit a form without Page Refresh in PHP using JQuery”, This is quite a very simple task but it becomes tough when you are totally new to this. So I am going to explain this line by line so you can easily learn form submission using AJAX. Just for my [...]

Categories: Ajax, JQuery, PHP, Web Development

Most of us using A to Z sorting in our project while filtering data. Let’s suppose i have penality if users in my database and i want to fiter them on the base of alphabets. Situation is if i click “A” it should display all records related to A, If a Click “N” it should display all records starting with [...]

Categories: PHP, Web Development

Functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions and avoids state and mutable data. It emphasizes the application of functions, in contrast to the imperative programming style, which emphasizes changes in state. Functional programming has its roots in lambda calculus, a formal system developed in the 1930s to investigate computability, the Noninterchangeable, function definition, function application, and recursion. Many functional programming languages can be viewed as elaborations on the lambda calculus. PHP has the [...]

Categories: PHP

I am today going to provide Ajax sorting in PHP. I will use a “users”  MySQL table for my tutorial. I will divide my tutorial in few steps so that I can let you understand Sorting using AJAX easily. My very first step is to create a table in MySQL, you can copy this query and execute this in SQL [...]

Categories: Ajax, MySQL, PHP

Export mysql as csv is mostly needed when you need to import data to some other database, wherever you wanted to use. I am giving my today’s release in that case, this is complete tested code to export MySQL as csv, whatever you need is to change the query section of this code. I hope it would full fill all [...]

Categories: PHP, Web Development

I am happy to write about PHPMailer class, let’s learn that how to send and email using PHPMailer. In this tutorial we will talk about how to use HTML Templates as an email, attatch files with your email using PHPMailer. Here we will use the following files to as sample for newbies. index.php send_email.php contents.html images/logo1.png images/engr_mudasir.jpg Our index file [...]

Categories: PHP, Web Development

In this tutorial we will create 4 PHP Scripts files and one Database. signup.html sgnup_action.php confirmation.php config.php Note that this is not necessary, you can change the scenario. This all is just to provide you a simple concept that how you can verify an email using php. First of all create a database with name “users”. Next step to proceed [...]

Categories: PHP, Web Development

I have to develop a code for a simple quiz in PHP page. I figured it out and found it to be very simple and easy to do. All the steps you need to do is to create a simple form and after that a PHP Script that will calculate the answers of the specific question. I have followed some [...]

Categories: PHP, Web Development

Splitting a string is needed whenever you wish to take a specific part of the string after a specific character. Suppose I have string (“Hello: Hunny I just make you call, cell was out or range”), I want to pick this specific part of the string after the sign(:). Better way is to use explode here to save time and [...]

Categories: PHP

You can find and replace a string in php easily using str_replace() function. I will go with example to make it easy for you. For example I have some string and I want to replace all the vowels from that string, it would be easy to use str_replace() here. I have number of contents and I want to replace all [...]

Categories: PHP