PHP Echo

Prem Tiwari - - 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: …

How to Generate Random Number in PHP

Prem Tiwari - - 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 …

How to Keep Values Selected After Form Submission

Prem Tiwari - - JavaScript, 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 …

How to Download and Save a Remote Image Using PHP

Prem Tiwari - - 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 …

How to Generate a PDF and Send as Attachment in Email

Prem Tiwari - - 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 …

How to create restclient using php

Prem Tiwari - - 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 …