Hi,
Thanks for your suggestion on the forum (adding an extra column as 'tablenumber)
I think it might work for what I need, however, as a php newbie.. could you help out somemore?
say if I need to delete certain row, I used to use
<? mysql_query("Delete FROM table1 where id = $id", $db); ?>
If this specific row is recorded as for table 1, with your new addition of the column, how should I change the line of code to?
Also, this line is used to record the data entered:
mysql_query("update $table set date = '$date' where id = '$id'");
how should I change it to?
Finally, I mentioned that I wanted to use 12 tables to record 12 different car manufacturers. I wanted to use 12 php pages so when a person clicks on ferrari.php, he will be brought to a page with the $table = ferrari, If he clicks on audi.php, he'll be brought to a page with the $table = audi...and so on..
This is long and tedious with repeating codes,only change is the table name.
So, If I take your suggestion, which I most likely will, is there any way to simply use 1 php page and somehow manipulate the links on the main page so that when you click on a different link, the constant $table can be changed.
Thanks a trillion for your time!!