a good'old newbie question regarding classes/function of $database - Joomla! Forum - community, help and support
greetings lads , gals.
context: using section menu module. excellent module, need customize in order have output list in 2 equals colums.
intent: have script use number of rows in categories table section= whatever. then, have divide half , pour number of category links , stop, open cell , pour rest, close thing , go home.
problem: don't know ifs, buts, dos, don'ts, uses , ways of joomla's predeclared classes around $database. there couter function , "move cursor up", , how leaves me speachless.
any hints, pointers or clues welcome.
cheers,
cc.
context: using section menu module. excellent module, need customize in order have output list in 2 equals colums.
intent: have script use number of rows in categories table section= whatever. then, have divide half , pour number of category links , stop, open cell , pour rest, close thing , go home.
problem: don't know ifs, buts, dos, don'ts, uses , ways of joomla's predeclared classes around $database. there couter function , "move cursor up", , how leaves me speachless.
any hints, pointers or clues welcome.
cheers,
cc.
actually database class not contain cursor functions (at least not know of)... instead have load* functions return single values, arrays or objects. since modifying there should call... either $database->loadrowlist(); (returns array of arrays) or ->loadobjectlist(); (returns array of objects). you'd have navigate through resulting array using index example... , want make use of count php function size of array.
hope helps.
hope helps.
Comments
Post a Comment