How would you differentiate if the call save() was to save a blogs or save comments? The solution was to use blog_save() or comment_save() before the introduction of classes in which we could write the save() function within the Blog... (Continue reading)
This is a very simple script to get the IP address of your visitor using php < ?php $ip = $_SERVER['REMOTE_ADDR']; echo "Your IP address is ".$ip; ?> VN:F [1.5.7_846]please wait...Rating: 0.0/10 (0 votes cast)VN:F [1.5.7_846]Rating: 0 (from 0 votes)... (Continue reading)
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)