[Phpmyadmin-devel] Question about dbname . tablename in PMA

Sebastian Mendel lists at sebastianmendel.de
Thu Jul 23 13:41:00 CEST 2009


On 22.07.2009 17:09, Alexander Rutkowski wrote:
> Hi all,
>
> does anybody know if there exist a config var in PMA that define the
> style of generated tablenames ? Is there a rule for programmers ?
>
> When I edit the structure of a field, PMA produces only "tablename"
> as table name. When I insert data it produces "dbname" . "tablename".

including the database name is a more safe approach, query will work 
regardless of currently selected database

otherwise you have to ensure correct database is selected

i would always prefer including database name

-- 
Sebastian Mendel




More information about the Developers mailing list