php - PHPmyEdit: Pull table data using string value rather than set value -
I am using PHPMyEdit, and the file generated after I read the setup:
$ Opts ['hn'] = 'localhost'; $ Opts ['un'] = 'User'; $ Opts ['pw'] = 'pass'; $ Opts ['db'] = 'db'; $ Opts ['tb'] = 'table_name';
I need to act like this:
$ foo = $ _POST ['bar']; ... $ opts ['hn'] = 'localhost'; $ Opts ['un'] = 'User'; $ Opts ['pw'] = 'pass'; $ Opts ['db'] = 'db'; $ Opts ['tb'] = $ foo;
If I run the code like this, then this table pulls the data properly, but when I try to edit, I copy, it reads: < / P>
phpMyEdit error: no tables defined .
Is there any other situation and was able to detect the solution?
$ opts
variable defined in php.MyEdit.class.php Has been the file The file generated by the setup document is not designed to support additional '$ _POST' calls. To fill the host, run phpMyEditSetup.php as well as all your other database fields. If you did not want your php to be generated by the way phpMyEdit was created, you can edit the class file.
Comments
Post a Comment