[PHP] NewB Q on Arrays.

2003-03-25 Thread inpho
Hey All, I'm still a newB in php and mysql so I'm asking for your patience up front. i want to get a list of results from an array, which I can do with: $result=mysql_query("select * from mvlogtbl",$db); while ($row=mysql_fetch_array($result)){ echo "$row[uid] $row[mvid]"; } basically what I ha

[PHP] NewB PHP / mysql Q

2002-10-10 Thread inpho
y: while ($row=mysql_fetch_array($result)) { print "$row[UName]$row[FName] $row[LName]$row[cname]"; } but the $row[xxx] aren't displaying any info, if I put $row[u.unam] it returns an error. I run the SQL query in phpmyadmin and it runs fine, returning 2 results how do I access those result