Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 21. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  including phpMyEdit in another php web page

phpMyEdit Configuration     including phpMyEdit in another php web page
Odoslať novú tému   Odpovedať na tému    
 
lucifersangel87     Založený: 31.05.2012   Príspevky: 1  
Príspevok Zaslal: 2012-05-31 09:49
Návrat hore  Odpovedať s citátom     

Hi,

I run a dynamic link website, which loads a page based on a $_GET value passed in the link. ie - index.php?page=viewstaff would load the index page winth an include('viewstaff.htm') statement in.

viewstaff is not in the same folder as the phpmyedit class, but it is the file generated by the phpmyedit setup. ie. The table file generated is in the root of my server, and not in the phpmyedit folder where i need to keep the class.

Now when I load the page, all of the buttons at the bottom of my table take me back to 'index.php', not index.php?page=viewstaff

Any ideas how to fix this?

 
doug     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2012-06-02 20:13
Návrat hore  Odpovedať s citátom     

Try this:

Kód:
$page = $_REQUEST['page'];

$opts['cgi']['persist'] = array('page' => $page);


 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov