How to create Child Theme in WordPress? In this post you will learn how to create a Child Theme in WordPress. But before creating a child theme we have to know about child theme. What is a Child Theme? A ...
phpsupport | phpsupportdesk Latest Articles
How to show google map with multiple markers on PHP web page
pHpSupportGoogle Maps Multiple Markers In this post, you will learn how to show a simple Google map with multiple markers on a web page. Google map with multiple markers can be implemented by using simple HTML tags and JavaScript functions. ...
How to show google map in PHP web page with Custom pointers
pHpSupportIn this post you will learn how to show a Google map with custom pointers in a web page. For this firstly you have to create an HTML page that contains a div tag with id attribute for showing google ...
How to show google map in PHP web page
pHpSupportGoogle Map is the widely used element in contact form for a website and you can easily show Google Map to your website.In this post you will learn how to show a simple Google map with a marker in a ...
How we can create custom post type plugin.
pHpSupportHow we can create custom post type plugin: In this post you will learn how to create a custom post type plugin in WordPress. What is Custom Post Type Plugin? If you want create own custom posts in your site, ...
How to save image as featured image in WordPress
pHpSupportSet Featured Image WordPress If you want to save the image as featured image from front end form. Here is the code for making the image as featured image for a particular post in wordpress. $filename = $_FILES[‘attachmentfile’][‘name’]; $wp_filetype = ...
PHP7 Introduction
pHpSupportYou might have knowledge about active development of the biggest version of PHP7. It takes near about a year for the development. Finally the wait is over and we have brand new version of PHP7 with us. The PHP7 timeline ...
PHP code to subscribe user directly to mailchimp using CURL
pHpSupportMailChimp PHP MailChimp is the most famous online email marketing software and is offered free of cost. It allows the user to subscribe and send newsletter in bulk to them. It also manages your subscriber’s lists. MailChimp makes it easy ...
How to generate an API key from mailchimp account?
pHpSupportYou would have to follow the following steps Login to your mailchimp account. After Login, on the top right corner before Help, you will see your account name with down arrow. Click on that. You will see an option of ...
What is REST API?
pHpSupportREST API REST stands for ‘Representational State Transfer’. It’s an architectural style and an approach to communication for the developement of web services. Roy Fielding in 2000 first introduced REST. REST basically uses HTTP protocol for data communication. It’s main focus ...
How to use Ajax using jQuery in PHP?
pHpSupportHow to use Ajax using jQuery in PHP? Firstly, you have to include the <script src=”https://code.jquery.com/jquery-1.12.0.min.js”></script> before </head> Or use the latest jQuery version as required. Then, use the main content of the page as below code: <div id=”content”> <ul> ...
How to get the list of file names in a folder in PHP?
pHpSupportIn PHP5, PHP7 it is easier to find the name of files. We are having the function using which we can find the names of the files under a specific folder. You can use the: <?php $dir = ‘C:/xampp/htdocs/phpSupport/questions/doctopdf/’; ...
How to integrate Paypal Payment Gate way?
pHpSupportFor simple PayPal integration we just have to send the user to the PayPal site with the required information to process the order. Here is the code to use that it in a simple manner. First of all you have ...
How to produce forget password recovery method with PHP?
pHpSupportHere we need to create two pages connect.php forgotpassword.php file 1:-connect.php <?php $connection = mysql_connect(‘localhost’, ‘root’, ”); if (!$connection){ die(“Database Connection Failed” . mysql_error()); } $select_db = mysql_select_db(‘test’); if (!$select_db){ die(“Database Selection Failed” . mysql_error()); } file 2:- forgotpassword.php <?php ...
Easy way to make login page in PHP
pHpSupportMost easy way to make login page in PHP:- <?php define(‘DB_HOST’,’localhost’); define(‘DB_NAME’,’logina’); define(‘DB_USER’,’root’); define(‘DB_PASSWORD’,”); $con=mysql_connect(DB_HOST,DB_USER,DB_PASSWORD)or die(“Failed to connect to MySql:”.mysql_error()); $db=mysql_select_db(DB_NAME,$con)or die(“Failed to connect to MySQL:”.mysql_error()); function SignIn($username, $password) { if(!empty($username)) { $query=mysql_query(“SELECT *FROM username where userName=’$username’AND pass=’$password’”)or die(mysql_error()); $row=mysql_fetch_array($query) ...