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)
You can send email to mutiple persons at one shot using php. When you submit, this file will be sent an email immediately to the target emails from your database. First create a DB Database “mail” and table “email_list” with 3 fields:... (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)