[Phpmyadmin-devel] Re: calling sql.php or import.php

Michal Čihař michal at cihar.com
Sat Mar 4 00:58:01 CET 2006


Hi

On Fri, 03 Mar 2006 13:17:28 -0500
Marc Delisle <Marc.Delisle at cegepsherbrooke.qc.ca> wrote:

> looking at the generated HTML when we browse a table, some links/buttons 
> call  sql.php (for example, [Next] or [Page number]), some others call 
> import.php (like [Refresh]). Is there a reason?

AFAIR sql.php can handle single SQL only, while import.php can split
SQL queries.

> I ask this because for a bug I'm working on, I would need to pass "pos" 
> to be able to refresh the current page, but import.php does not handle 
> "pos".

Just remove (or better make it conditional) $pos = 0; at the very end of
import.php ;-).

-- 
    Michal Čihař | http://cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20060304/35596fb5/attachment.sig>


More information about the Developers mailing list