I am using a complex join statement to get data from my 'items' table where 'column1' is equal to the value of table2.ID
This is in a mysql_query()
statement, and it should return 3 rows.
Now my understanding is that by using $array=mysql_fetch_array($queryresult);
, I can then loop through each 'row' using a foreach($array as $output){echo $output['ID'];}
This is however not returning what i want. Using print_r on $output is outputting non-sensical information.
So, yes it is ver much back to basics, but obviously i have missed the point.