AN-net
09-02-2004, 02:25 PM
Warning: Cannot use a scalar value as an array in /home/anima22/public_html/testvb/journal.php on line 387
Warning: Cannot use a scalar value as an array in /home/anima22/public_html/testvb/journal.php on line 388
what does that mean?
here is the code i just added:
$total= $DB_site->query("SELECT SUM(entrycount) AS entries,SUM(commentcount) AS comments FROM ".TABLE_PREFIX."journals WHERE active=1");
$total['entries']= vb_number_format($total['entries']);
$total['comments']= vb_number_format($total['comments']);
thank in advance:)
Warning: Cannot use a scalar value as an array in /home/anima22/public_html/testvb/journal.php on line 388
what does that mean?
here is the code i just added:
$total= $DB_site->query("SELECT SUM(entrycount) AS entries,SUM(commentcount) AS comments FROM ".TABLE_PREFIX."journals WHERE active=1");
$total['entries']= vb_number_format($total['entries']);
$total['comments']= vb_number_format($total['comments']);
thank in advance:)