Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 26. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  How to display the absolute values in the table generated

phpMyEdit General     How to display the absolute values in the table generated
Odoslať novú tému   Odpovedať na tému    
 
johnygmalayil     Založený: 19.08.2015   Príspevky: 5  
Príspevok Zaslal: 2015-08-19 09:10
Návrat hore  Odpovedať s citátom     

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     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2015-08-19 16:36
Návrat hore  Odpovedať s citátom     

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

 
johnygmalayil     Založený: 19.08.2015   Príspevky: 5  
Príspevok Zaslal: 2015-08-20 10:24
Návrat hore  Odpovedať s citátom     

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

 
doug     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2015-08-20 14:24
Návrat hore  Odpovedať s citátom     

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

 
johnygmalayil     Založený: 19.08.2015   Príspevky: 5  
Príspevok Zaslal: 2015-08-20 15:47
Návrat hore  Odpovedať s citátom     

Thanks :-) It helped

 
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