Selacius Posted January 27, 2006 Share Posted January 27, 2006 I know and have used the while($row = mysql_fetch_array($result)) {} line for a while for various things, but I am curious if there is any easy way for me to select a single row and using this while command, or any other, have it cycle through the columns of that selected row. I can hard code for each column, but when my table is 27 columns long, that is a lot of code. Any ideas? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now