Install PHP
To install PHP, we will suggest you to install AMP (Apache, MySQL, PHP) software stack. It is available for all
Read moreTo install PHP, we will suggest you to install AMP (Apache, MySQL, PHP) software stack. It is available for all
Read moreBasic Task List Introduction Installation Prepping The Database Database Migrations Eloquent Models Routing Stubbing The Routes Displaying A View Building
Read moreInstall Composer Laravel utilizes Composer to manage its dependencies. First, download a copy of the composer.phar. Once you have the
Read morePHP mysql select average program example PHP MySQL code to to calculate average. <!doctype html> <html lang=”en”> <head> <meta
Read morephp include pages or files The include (or require) statement takes all the text/code/markup that exists in the specified file and copies it
Read morehow to get date of yesterday using php <?php $test=date(‘d.m.Y’,strtotime(“-1 days”)); echo $test; ?> or <?php $test=date(‘d-m-Y’,strtotime(“-1 days”)); echo
Read morePHP print Statement The print statement can be used with or without parentheses: print or print(). Display Text The following example shows how to output
Read more<?php // PHP program to illustrate substr() function Substring($str){ $len = strlen($str); echo substr($str, 8), “\n”; echo substr($str, 5,
Read moreHow to identify server IP address in PHP or the server ip: $_SERVER[‘SERVER_ADDR’]; and this for the port $_SERVER[‘SERVER_PORT’];
Read moreSaving a curl response into a php variable Here is example to save a curl resonse into a variable in
Read more