Returning only 1 row
I'm running an sql query that joins 2 tables for stock information.
Table 1 has user id's and stock ids, table 2 has stockids and stock information.
I joined the tables so that I could query the stock information where the users have the stock id's
You haven't done anything to loop your results. Pulling mysql_fetch_* functions only pull a single record and put them into an array, and then increment the pointer of the resultset to the next row. You need to pull multiple with a loop:
Thank you. I knew it was something easy that I was looking over.
|All times are GMT +1. The time now is 06:43 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.