0

i'm a beginner in php..i tried to display the record of the db in php. i create the variable to see the next record by $q=row+1 to display the next record of same country.. but it didn't appear. it recurr the first record...i don't know the problem, can help me ...

4
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by Shanti C
0

i'm a beginner in php..i tried to display the record of the db in php. i create the variable to see the next record by $q=row+1 to display the next record of same country.. but it didn't appear. it recurr the first record...i don't know the problem, can help me ...

You're going to have to elaborate a little bit more for me to throw any suggestions your way. From what I've read, you're trying to display a list of countries from a database?

0

you can retrieve database information like this:

while($r=mysql_fetch_assoc(mysql_query("select * from your table")))
{
echo $r['yourfield'];
}
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.