[Phpmyadmin-devel] Tow points

Marc Delisle lem9 at users.sourceforge.net
Wed Aug 1 02:24:39 CEST 2001


Armel FAUVEAU a écrit :
> 
> Hi Marc,
> 
> > I tested it.  Is it intentional that dbase, user, label and query are
> > stored with backquotes surrounding them?
> 
> No :p
> 
> I replace the line 1648 at lib.inc.php3 by this one ?
> 
> $query ='INSERT INTO
> '.backquote($cfgBookmark['db']).'.'.backquote($cfgBookmark['table'])
>         .' (id, dbase, user, query, label) VALUES
> (\'\',\''.$fields['dbase'].'\',\''.$fields['user'].'\',\''.$fields['query'].
> '\',\''.$fields['label'].'\')';
> 
> Armel.


Armel,

ok the patch solves this problem.  Now I think you should remove
backquotes around the
username in list_bookmarks.

I removed them here, then I can see the bookmarks names.  I only have
one bookmark.

If I try to see it or execute it:

Warning: Unable to jump to row 0 on MySQL result index 8 in
/usr/local/etc/www/si/php/phpMyAdmin/lib.inc.php3 on line 1629

Marc




More information about the Developers mailing list