Hi,
One of the sections in the site I'm developing is a training section.
Within this section there are sub sections which each need the option
of having multiple examples added. Each example will be made up of 2
sections a UL list and a 2 column table with a title and intro as well.
The way
Hello Jon,
Thursday, January 15, 2004, 6:23:51 PM, you wrote:
JB The way I was thinking of doing this was to have 3 tables:
JB training_subsections
JB training_list_items
JB training_table_items
JB My problem is, is it a 'reccomended' way of doing things to query the
JB db multiple times for
Ahh, i was originally thinking of having a examples table, but when
writing the post I decided it might not be nessecary :-)
ok, that bit I understand fine, it's getting the data into the DB first
that's bugging me, would something like this be ok ?
function addNews($aArgs, $aListItems,
Yeah, its fine, as long as your while loop ends
just after a quick glance, it looks like an infinite loop,
you might try
instead of
while (count($aListItems)){
try
while (isset($aListItems[$i])){
or
while ($i count($aListItems)){
--
Luke
Jon Bennett [EMAIL PROTECTED] wrote in message
4 matches
Mail list logo