I am makeing a admin page in php/sqlite.
in my index.php you can select a table with md5 id in header for items.
this is a example from my index.php after selected table "beer"
"http://localhost/admin/index2.php?tableName=Beer"
i can edit/update but can't insert a item.
what i would like is, when i have select the table called "beer" or "drinks"
add the item to the selected table. i would like something like:
"http://localhost/admin/add.php?tableName=Beer"
how can i make a add.php where it remembers the selected table?
is it replace location with javascript or $_get[tableName] PHP?
the current add.php dosent remember the selected table.