Re: [PHP] NewB Q on Arrays.

2003-03-25 Thread Frappy John
> What i want to be able to do is determine if a certain > user has watched a movie. If you want to check the log to see if a single user has viewed a particular movie, then include the user and movie in the select statement: select uid, mvid from mvlogtbl where uid = $userID and mvid = $movi

[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