The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Try out my first PHP web app! Reply To: Try out my first PHP web app!


How do I pull data from the database without a loop?

Just to clarify this, as it might be source of confusion.

If you query the database explicitly, meaning you specify what table and field you want to retrieve, there’s no need to loop over anything.

And looping over set of results is a PHP feature, not SQL.