Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, April 29, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Dummy fields?

phpMyEdit General     Dummy fields?
Post new topic   Reply to topic    
 
StephanieM     Joined: 08 Feb 2005   Posts: 9  
Post Posted: 2005-04-08 21:17
Back to top  Reply with quote     

Hi all:

Is it possible to display dummy fields that don't actually exist in the database but are calculated on the fly from other sources? This would be very nice for generating links and queries to other tables, displaying totals and counts and so on. This would be a nice extension to the ['sql'] mechanism.

Sometimes I want the same info displayed twice: perhaps a phone number, then a "call" link that invokes a dialling script. Perhaps a stock photo database needs a View Thumbnail and a Buy now link, both of which use the file's name - but the filename only appears once in the database. However, neither the Thumbnail nor the Buy columns have real fields in the database.

Or can I do this already?

 
michal     Joined: 17 Jun 2003   Posts: 537   Location: Slovakia
Post Posted: 2005-04-08 21:51
Back to top  Reply with quote     

you can do
'sql' => 'file_name'

and you have field 'file_name' twice...

 
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