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  »  how to conditionally show the Add button

phpMyEdit General     how to conditionally show the Add button
Post new topic   Reply to topic    
 
laspina     Joined: 01 Oct 2004   Posts: 13  
Post Posted: 2009-09-28 08:13
Back to top  Reply with quote     

Hello,
I would like to show the Add button if and only if
-the number of records is 0
or
-after a delete operation if the number of record is 1

I defined in the core class a global variable to register total_recs, but it does not work: the variable is avalaible after the form generation , and it is too late for not showing the Add button.

Thank you for you help.

 
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