Hi i cant get my head around something so here goes
// create an array of the urls
$url_array = array ();
for ($count =1; $row = $result->fetch_row(); ++$count) {
$url_array[$count] = $ row[0[;
}
return $url_array;
ok not fussed about the syntax or even geting it working, as its from a script which i know works, i just typed this out in a rush
just to clarify here im saying
while count is 1, and there is a row to fetch, increment count and then assign, that fetched row to the array?
if thats the case why is count in there? and how does the pointer go forward through the array?