>
http://www.php.net/manual/en/language.types.array.php#language.types.arr
> ay.syntax
> 
> > This is done by assigning values to the array while specifying the
key
> > in brackets. You can also omit the key, add an empty pair of
brackets
> > ("[]") to the variable-name in that case.
> 
> > $arr[key] = value;
> > $arr[] = value;
> > // key is either string or nonnegative integer
> > // value can be anything
> 
> You really don't have to create $i, it will be created *on the fly*,
> works for me.

Yes you are correct, sorry that is a hold over from my c++ days.  Its
just a habit.  I figured out my problem, I didn't have my variables
"nick & comment" capitalized like they are in the database.

Thanks for your help,
Matt 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.391 / Virus Database: 222 - Release Date: 9/19/2002
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to