Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Sunday, October 18, 2026
About Us
O nás
Magazine
Magazín
Open Source
Otvorený softvér
CVS
CVS
Services
Služby
Index  »  Projects  »  phpMyEdit  »  Forum  »  How to display the absolute values in the table generated

phpMyEdit General     How to display the absolute values in the table generated
Post new topic   Reply to topic    
 
johnygmalayil     Joined: 19 Aug 2015   Posts: 5  
Post Posted: 2015-08-19 09:10
Back to top  Reply with quote     

Hello,

I am new to phpmyedit.
I use the version 5.7.1.

Recently I developed a website using phpmyedit and it was good.
I have an issues with the website. I want to have the absolute values displayed in the page which is created by default.

Something like

Select abs(value) from table;

In the page that is created. Is there any way to do that. ?
I dont want negative values to be there.

 
doug     Joined: 10 Feb 2003   Posts: 1013   Location: Denver, Colorado (USA)
Post Posted: 2015-08-19 16:36
Back to top  Reply with quote     

http://opensource.platon.org/projects/doc.php/phpMyEdit/html/configuration.fields.sql.html

 
johnygmalayil     Joined: 19 Aug 2015   Posts: 5  
Post Posted: 2015-08-20 10:24
Back to top  Reply with quote     

can you be more precise. I didnt understand how to do it from that.

 
doug     Joined: 10 Feb 2003   Posts: 1013   Location: Denver, Colorado (USA)
Post Posted: 2015-08-20 14:24
Back to top  Reply with quote     

$opts['fdd']['column']['sql'] = 'abs(column)';

 
johnygmalayil     Joined: 19 Aug 2015   Posts: 5  
Post Posted: 2015-08-20 15:47
Back to top  Reply with quote     

Thanks :-) It helped

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Odkazový formulár · Application form · Prihláška
Report bug on PLATON.SK website · Upozorniť na chybu na PLATON.SK webstránke · Terms of use · Podmienky použitia · Privacy policy · Ochrana osobných údajov