Is a copy of the data stored in a SQL query array made?
Posted: Thu Jul 29, 2010 8:28 pm
So i was having problems with my script and it worked when i put the query into the FOR loop, i had only put the variable that contained "fetch_assoc()" in the FOR loop. I was wondering when you make a query and store the results in the array, then you echo all the results out does PHP make copies of the data or does it echo the data out then delete it from the arary?