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  »  can I use class functions ?

phpMyEdit General     can I use class functions ?
Post new topic   Reply to topic    
 
sagiben     Joined: 27 Jan 2009   Posts: 15  
Post Posted: 2009-07-04 16:04
Back to top  Reply with quote     

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 :

Code:

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 :

Quote:

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.

 
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