I was wondering if there was a better way to go about editing multiple tables using one script.
What I'm doing now is using a simple "index.php?table=another table" to change the table selected by the script.
Right now I'm using the suggestion found in this thread, http://opensource.platon.sk/forum/projects/viewtopic.php?t=372989 to be able to use the view, change, save, and apply buttons.
However, I run into "warning messages" when I update information. Warning messages appear when there is a space in the name of the selected table. The following warning message occurs with or without a space:
Code: |
"Warning: Invalid argument supplied for foreach() in /var/www/myedit/phpMyEdit.class.php on line 2731" |
It doesn't seem to affect the editing of record information but I would like to try to clear up these warnings.
|