Convert an array into a delimited string in PHP
Using the implode() method to convert your array into a delimited string, then use explode() to reverse the process and convert the concatenated string back into an array. Use the implode() method to...
View ArticleHow to insert an array into a Database
Use the implode() method to convert your array into a delimited string, then use explode() to reverse the process and convert the concatenated string back into an array.
View ArticleExport MySQL to Excel in PHP
This code sample exports a single table from MySQL Database to Excel in tab-delimited format.
View ArticleCreating Protected Pages In PHP
Many times we want to protect a page so that only allowed persons can view it. In PHP we can do this fairly easy by using the SESSIONS. The idea is very simple. The list of allowed members with unique...
View ArticleAutomatic Thumbnails Creation On The Fly Using PHP
Automatic Thumbnails Creation Script that uploads an image and makes its thumbnail.
View ArticleCreate Login, LogOut and Forgot Password Recovery Features using PHP and MYSQL.
The simple code pieces that are very useful for some common and important practices. How to create a login feature, how to create a logout feature and how to create a forgot password feature. This...
View ArticleImport .CSV File Into MySql Using PHP
Many times we need to populate our database with a lot of records. A common example is the online shopping cart. Here one may need to add thousands of products. Manual entry of these products will take...
View ArticleMembers Registration With Email Verification Using PHP And MYSQL
The article explains how to create new members in PHP using MYSQL with email verification.
View ArticleFind a visitor’s IP Address with Country and flag in PHP
The code will get the user's IP, country name and country flag.
View ArticleGrabbing Content from Web Using PHP and cURL
This tutorial explains how the cURL extension, or the cURL library (libcurl) can be used to connect to websites, communicate with servers, transfer files, or grab content off the net. The pre...
View Article