PHP Echo

By: Prem Tiwari | Last Updated: | In: PHP Tutorials


ECHO is not a function, it is a language construct in PHP programming so that you can use it without parenthesis. ECHO is used to print the string, multip line string. See the below examples: PHP ECHO Below is the example to print the single line string using ECHO.

Here is another example to …

How to Generate Random Number in PHP

By: Prem Tiwari | Last Updated: | In: PHP Tutorials


This is a simple PHP program which will generate and print the random numbers with the help of inbuilt function rand(). How to Generate Random Number in PHP Create a file name “random_number.php” inside the xampp\htdocs\php\random_number.php and copy paste below code.

Output

How to Keep Values Selected After Form Submission

By: Prem Tiwari | Last Updated: | In: Javascript & Ajax, PHP Tutorial, Web Technologies


I got a tutorial request from my website reader, he asked to “Keep values selected after form submission in PHP”. In this tutorial, I will share the simple code to keep form values selected in textbox after form submission. How to Keep Values Selected After Form Submission Let’s start to create an example for this. …

How to Download and Save a Remote Image Using PHP

By: Prem Tiwari | Last Updated: | In: PHP Tutorial


Want to download or save any remote images on your server by using simple PHP scripts? In this tutorial I will explain how to download any remoter server images on your server, then keep your close attention in this tutorials as I am going to share “How to Download and Save a Remote Image Using …

How to Generate a PDF and Send as Attachment in Email

By: Prem Tiwari | Last Updated: | In: Freebies, PHP Tutorial


Hi folk, hope doing good! In today’s tutorial, I will explain how to generate a PDF and send as an attachment in an email. Nowadays, many peoples are you using the online store to selling his products. When an order placed from an online store, then it must be good if you generate an invoice …

How to create restclient using php

By: Prem Tiwari | Last Updated: | In: PHP Tutorial


Hello folks, hope you are doing good. In one of my recent project, I get a chance to create RESTClient a debugger for RESTful web services using PHP. In today’s tutorial, I will share very useful things with you. After this tutorial, you will able to create a restCliient using PHP. PHP Rest Client Example …