This tutorial require 1 PHP file and 1 table of mySQL database. 1. counter.php 2. Database “mypage” and table “counter” with 1 fields: visitor(Int, 11). You need to insert a first one record with “0″. Counter.php Source Code < ?php // For using session variables put... (Continue reading)
You can export your MySQL database to .csv file format (Microsoft Excel file) easily using php. This tutorial require 1 PHP file and 1 table of mySQL database. 1. exportcsv.php 2. The table is with 2 fields: id(auto_increment), name(varchar, 50) and put some... (Continue reading)
Sometimes when trying to upload some huge SQL file using PHPMYADMIN we might come across this ERROR MESSAGE Error: You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit There is simple a fix for this:- Find the config.inc.php file... (Continue reading)
If you get a Too many connections error when you try to connect to the mysq server, then it clearly means that all available connections are in use. Too Many Connections can be caused by either a lot of simultaneous connections... (Continue reading)
abstract This is a simple example of photo-gallery script, which uses MySQL table (BLOB field) to store images. Trivial password-protection, uploading and deleting images are supported. For Apache-version of PHP there is advanced browser-caching support (using If-Modified-Since header). compatible PHP 4.3.0 or higher PHP 5 There are... (Continue reading)