Michal Čihař a écrit :
Hi
On Fri, 03 Mar 2006 13:17:28 -0500 Marc Delisle Marc.Delisle@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 ;-).
Thanks. It works but with $_GET['pos']. Weird, $pos contains something else. Marc