Both PHP while loop and do-while loop is used to execute bulk ok code several times and using that we can execute the bulk of code several time which is inside the scope. Most of the time the PHP while loop is used in the printing of database table values, and do-while is used if […]
Read MoreIf you have a lot of data and needs to store into variables then its become very difficult to handle the variables, in this case, PHP array helped to store a group of data in an organized way, and PHP array helped to easily find the data stored on it, There are 3 different types […]
Read MorePHP Switch Case is an if-else condition and only difference is the writing style, it is mainly used when there needed a bulk amount of if and else if condition, Writing Style of Inside switch() function needed the value to pass and the conditions must have to write inside the scope of the switch […]
Read MorePHP if else condition is the most important part and also has too many variations, so first we are going to discuss basic of PHP if else condition, and then will check nested if-else, writing style of if-else condition, etc. Basic of PHP if else condition an if condition is mainly written by if keyword […]
Read MoreThe PHP session and PHP cookies are a very mandatory portion to develop a PHP project. The session and cookies both are used to store information and use that information throughout all pages or functions. What is the PHP Session? A PHP session is a process to store data in the server, for a local […]
Read MoreTo generate business online and to get connected with business and website user form submission is the ultimate way. But form after submission of the form has to receive the data and use them also, so in this post we are going to learn how to receive the data sent from a form in […]
Read MoreBelow there is some needed woo-commerce page URL, which is frequently used to develop any woo-commerce website. The WooCommercer important page URL are Shop Url $shopUrl = get_permalink( woocommerce_get_page_id( ‘shop’ ) ); Cart Url global $woocommerce; $aUrl = $woocommerce->cart->get_cart_url(); Checkout Url global $woocommerce; $aUrl = $woocommerce->cart->get_checkout_url(); Account Url $aAccountPageId = get_option( ‘woocommerce_myaccount_page_id’ […]
Read MoreTo store volatile data on a page and to use it, the variable is the most useful portion of any programming language. In this post we are going to see how to use PHP variable with its definition it contains PHP global variable, PHP array and PHP static variable with simple PHP variable and how […]
Read MoreTo make a project using PHP first need to know the basic syntax of PHP. that is how to make a comment a line or multiple lines, or how to print an array or a string and also how to concatenate multiple strings. How to make a single line or multiple lines commenting? Using PHP […]
Read MoreTo develop in PHP the first need is to install PHP, and in this post, we will learn how to install PHP in windows, Linux or in a mac os. It is needed to make your local machine as a local server as can be developed and tun PHP code in your local machine opening […]
Read More