Category - PHP Intermediate
Sign up today
About Genesis Mining
Genesis Mining was founded at the end of 2013. They got to know each other by using the same platform for buying and selling Bitcoins. As our company and its user base grew, new mining farms were built up and several additional people hired, specificall...
Here in this tutorial quickly i am going to explain how to export grid data or HTML table data to excel file or CSV ( comma-seperated values). Export/Import is very common functionality for web development, some time we need to export all grid data into excel file or csv file for reporting purposes....
This turorial will help people who wants to own their own web server to experiment and also to host their own website without cost on AWS. This will also show how to setup LAMP stack environment on AWS EC2 instance and how to deploy web applications on AWS.
A LAMP stack is group o...
Lets find an easy way for package management . Do you remember days we use to download ,extract files and paste inside our libraries folder and manually require them , thats all old style . I will show you how to manage your packages using composer which can do autoloading classes ,...
In this post let us study how to upload a temporary file on the server.For which we have to make a HTML form for uploading file .
<form action="fileupload.php" method="post"
After downloading copy the jcrop.js file into your root folder .
An array is a special variable, which can hold more than one value at a time.If you have a list of items (a list of car names, for example), storing the cars in single variables could look like this
Loops are used to execute a piece of code continuely until the given condition becomes false .There are four types of loops .
A while loop is a control flow statement that allows code to be...
Creating a PHP file :
For creating a php file follow the steps given below .
goto C:\xampp\htdocs .
Create a folder in htdocs example:firstproject .
In that folder create one text file example: new text document .
save that document as .php extension.
Basic PHP syntax:...
Using below function you can find Nth Image in your HTML Code
function getImageInHTML($post, $default, $i = 0)
preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post, $matches);
if( isset($matches[$i]) && !empty( $matches[...