Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Link to id to edit particular row

phpMyEdit General     Link to id to edit particular row
Post new topic   Reply to topic    
 
callitkarma67     Joined: 21 Nov 2014   Posts: 1  
Post Posted: 2014-11-21 07:37
Back to top  Reply with quote     

Hey all,
I'm looking to directly edit a row (by its ID) by adding the ?id=(##) to my edit link on my display page. I have a custom display table that I need to continue to use. Basically my users do not like to click the edit link just to find the particular row, select it, and click edit again. Just trying to eliminate the middle step. It would also be nice to add a link on the (actual) edit form page to return to my display table page. Any help is must appreciated.

Thank you very much in advance.

 
Paulo Fernando     Joined: 05 Oct 2014   Posts: 19  
Post Posted: 2014-11-21 09:39
Back to top  Reply with quote     

$opts['fdd']['dummy2'] = array (
'name' => 'Produtos',
'sql|VLF' => 'if(cod_venda <> "",
CONCAT("<a href=\"vendidos.php?s=22&PME_sys_fl=1&PME_sys_fm=0&PME_sys_sfn[0]=1&PME_sys_qf2=", cod_venda, "\" >Produtos</a>"),
"")',
'options' => 'VLF',
'input' => 'R',
'escape' => false,
'sort' => false
);


Transforms a column link to the desired line

if ($_POST['PME_sys_operation'] != 'Change') {
$opts['cgi']['overwrite']['PME_sys_operation'] = 'View';
$opts['cgi']['overwrite']['PME_sys_rec'] = $RecID;
}

Changes the way you view the table, can be adapted to display the selected row in edit mode directly

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy