Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  can I use class functions ?

phpMyEdit General     can I use class functions ?
Odoslať novú tému   Odpovedať na tému    
 
sagiben     Založený: 27.01.2009   Príspevky: 15  
Príspevok Zaslal: 2009-07-04 16:04
Návrat hore  Odpovedať s citátom     

Hi,

I want to print a column values in my html page,
just to do a simple 'echo' of the values.
The column values are generated from a complicated 3 tables JOIN clause.

I thought I can use phpMyEdit class function which are used to generate the form data. i.e. set_values

In order to accomplish that I did :

Kód:

var $ref = new phpMyEdit_mce_cal($opts);
var $key_values = $ref->set_values(field_num);


when field_num is the field number that I need it values, but I get sql error message and apache error log is filled with the following errors :

Citácia:

PHP Notice: Undefined index: values2 in phpMyEdit/phpMyEdit.class.php on line 430
PHP Notice: Undefined variable: column in phpMyEdit/phpMyEdit.class.php on line 450
PHP Notice: Undefined index: filters in phpMyEdit/phpMyEdit.class.php on line 452


I don't mind using a different method in order to accomplish this requirement, but I don't want to modify phpMyEdit.class.php code and don't want to re-create the JOIN clause by hand.

Thank you.

 
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