Hello, please help!
I'm having problems with "while" loop...
I need to display 10 addresses from the database, and make them as links.
Sql:
SELECT ID, F_NAME FROM ADDRESSBOOK ORDER BY ID ASC LIMIT 0, 10";
But somehow I see only 1 address rather than 10. So I'm assuming that I need while loop, right? When I use:
<a href=\"index.php?ID=$id\">$f_name</a>
I see the First Name (as a link) when I move my mouse over it shows index.php?ID=1
What while loop should I use to see all 10?
Thanks!