NO ...
u don't need another table, just copy&paste the following script, save it .php on your server and point your browser to it:
<?php
//EDIT ONLY WHERE green
// this is default if you instaled MySQL on your local computer
// if not ... change 'root' with your username and '****' with your password
$conn = mysql_connect ('localhost' , 'root' , '*****') or die ("Could not connect ... please check username and password");
// enter the name of your database
$db = mysql_select_db ('your_database_name_here') or die ("No database ... please check that you typed your database name correctly");
//please enter the table_name (only the table_name)
$alter_table = mysql_query ("ALTER TABLE your_table_name_here add date datetime");
?>
Now ... when you insert data into the Database ... your script must look something like this:
mysql_query ("INSERT INTO table_name VALUES ('', '$name'.....)");
or
mysql_query ("INSERT INTO table_name ('id', 'name' ...) VALUES ('', '$name')");
mysql_query ("INSERT INTO table_name SET id = '', name ='$name' ....");
Find that line and add this :
- if it's the first example:
mysql_q......VALUES (''....,'$date')");
- if seccond exapmle
mysql_q......('id'....,date) VALUES (''....'$date')");
- or last
mysql_q......SET id = '' , '$nam......., date = '$date' ");