Simply display data from database - Joomla! Forum - community, help and support


i can'tẗ figure out how display data in database. if load them array , try display them way:

code: select all

$i = 1; $j = 1;
while ($tstque[$i] == true && $i<=50) {
  $j = 1;
  echo '<tr><td>'.$tstque[$i].'</td></tr>';
  while ($tstans[$i][$j] == true && $j <=5) { # cycle through answers
    echo '<tr><td style="padding-left:100">'.$tstans[$i][$j].'</td></tr>';
    $j++;
    }
  $i++;
}

i word "object" instead of data. ok, read tutorials, doesn't explain what doing or trying achieve, nor me solve (imho simple) task. maybe missed important piece of documentation?
it can't true can't understand simple process of displaying data database within few hours (half day in case).
except this, module working fine...

thanks advices,

oak

give me example of query , how getting result set can tell kind of datastructure trying display

louis





Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

Rasperry Wifi LAN Controller - Raspberry Pi Forums

Unlock car with bluetooth and car key