I am new at this. 🙂
Say I have a table called Name that has two fields, First and Last. Say the content now is:
First Last
1st row-> John Davis
2nd row-> Stuart Reis
3rd row-> Andy Tate
4th row-> Will Sol
I would like to select each record and display it using echo. I can think of:
While database is not empty
select row, display
go to next row display.
The problem is I do not know how to do it in the SQL statements. I have seen other selects statements but most use where id="". Here i do not have such a field. How should I go about it?
Hope someone can give an example.
Thanks a million. Appreciate your help.