Platon Technologies
not logged in Login Registration
open source software development celebrating 10 years of open source development! Thursday, July 18, 2024
About Us
Open Source
Index  »  Projects  »  phpMyEdit  »  Forum  »  Using one PHP file to edit multiple tables

phpMyEdit Configuration     Using one PHP file to edit multiple tables
Post new topic   Reply to topic    
thetime     Joined: 25 Jul 2009   Posts: 1  
Post Posted: 2009-07-25 12:30
Back to top  Reply with quote     

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, 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:
"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.

doug     Joined: 10 Feb 2003   Posts: 1013   Location: Denver, Colorado (USA)
Post Posted: 2009-07-25 15:56
Back to top  Reply with quote     

Spaces are probably illegal in MySQL naming conventions. Try renaming your table and see if the problem goes away. Generally best to name MySQL databases, tables, and columns using only lower case letters, the underscore character, and digits 0-9.

Hyphens are technically allowed but guaranteed to cause PHP to break a script if interpreted as a minus sign.

latibal     Joined: 30 May 2020   Posts: 1  
Post Posted: 2020-05-30 10:56
Back to top  Reply with quote     

Some details regarding the configuration settings in your devices are shared here. As a result, the best resume writing service is there to share more methods that will make you accomplish through new steps.

denisbeta     Joined: 25 Aug 2023   Posts: 2251  
Post Posted: 2023-08-26 14:26
Back to top  Reply with quote

deebeeess0777     Joined: 24 Aug 2023   Posts: 229  
Post Posted: 2023-10-06 07:08
Back to top  Reply with quote     

We have a site for sports games. You must be interested. Pag-Unawa sa LOL at Esports

Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy