PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
onion2k
Jedi Mod
Posts: 5263 Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com
Post
by onion2k » Sat Mar 12, 2005 3:40 am
You don't want to be using a do..while loop when you display a series of records from a database. What happens if there are no records?
infolock
DevNet Resident
Posts: 1708 Joined: Wed Sep 25, 2002 7:47 pm
Post
by infolock » Sat Mar 12, 2005 3:59 am
ehh, there are still some other mistakes in there too
one that catches my eye every time is a lonely ; sitting with nothing to go along with it heh...
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Sat Mar 12, 2005 8:35 am
I like the = vs == issue myself.