Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 30. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Assitance with code from instructions

phpMyEdit General     Assitance with code from instructions
Odoslať novú tému   Odpovedať na tému    
 
weijiao     Založený: 20.01.2008   Príspevky: 2  
Príspevok Zaslal: 2008-01-20 01:47
Návrat hore  Odpovedať s citátom     

I am new at this so my question might be trivial.

I want to utilise a simple function as set out in the documentation but I cannot get the code right because I do not know how to write code from the examples give.

If this:

Example 4-16. Table lookup restriction

$opts['fdd']['col_name']['values']['table'] = 'extractTable';
$opts['fdd']['col_name']['values']['column'] = 'extractColumn';
$opts['fdd']['col_name']['values']['description'] = 'extractDescription'; // optional

looks like this in working code:

$opts['fdd']['staff_id'] = array(
'name' => 'Staff ID',
'select' => 'T',
'maxlen' => 11,
'default' => '0',
'required' => true,
'sort' => true,
'values' => array(
'table' => 'Staff',
'column' => 'id',
'description' => 'Last_name'
)

How should the following look in code if the relevant field descriptions are First_name and Last_name? ie what do I have to do to show both First_name and Last_name in the above ? I can use either, butt not both.

Example 4-17. Advanced table lookup

$opts['fdd']['col_name']['values']['description']['columns'][0] = 'desc_column_1';
$opts['fdd']['col_name']['values']['description']['columns'][1] = 'desc_column_2';
$opts['fdd']['col_name']['values']['description']['divs'][0] = ' ';

If there is a reference that explains the structure representations used in the documentation, that would be very helpful.

Thanks in advance

 
weijiao     Založený: 20.01.2008   Príspevky: 2  
Príspevok Zaslal: 2008-01-20 04:31
Návrat hore  Odpovedať s citátom     

Doug,

Thank you - now I can see how it works.
I have spent hours and hours trying to work this out by myself.

WJ

 
inbrunst     Založený: 14.04.2009   Príspevky: 8  
Príspevok Zaslal: 2009-04-14 12:45
Návrat hore  Odpovedať s citátom     

Hi!
I´m having the same problem understanding the documentation.
What did Doug tell? Does anybody know?
I could really need some help here...
Thanks a lot!

 
jemojel520     Založený: 19.11.2026   Príspevky: 3  
Príspevok Zaslal: 2026-11-19 16:52
Návrat hore  Odpovedať s citátom     

The variety of pets is one of the reasons Adopt Me remains interesting for collectors. There are ordinary companions that are easy to recognize, rare and ultra-rare animals, legendary pets, and special versions connected with different updates or events. If I were comparing external listings, I would use buy adopt me pets to get an overview of the available categories before narrowing the search. It is important to look beyond the main pet name because age, Neon status, and Fly or Ride attributes can distinguish one offer from another. For example, someone who wants to create a Mega Neon companion may have a very specific requirement, while a player who simply wants a new animal for everyday gameplay might be satisfied with a standard version. Event pets can be especially interesting to people who enjoy collecting items associated with earlier periods of the game, although their availability is not always consistent. I would compare the displayed prices of similar versions and take time to read the information provided for each listing. It is better to understand what is included in an offer than to make assumptions based on a thumbnail or a short title. Another point is to check the platform's current rules and the applicable game policies before deciding whether to use an external service. Players should protect their account credentials and avoid sharing private information with anyone. A clear collecting goal, a realistic budget, and careful attention to listing details can make the process more organized and reduce the chance of making a decision that does not suit the player's needs.

 
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