Monday, 6 February 2012

View Comments-Almost done!




I had a  good think about this before bedtime and during my time on the schoolbus. I thought that if I rearranged the code a bit like so (see above image)...then...First the MySQL would go through the entire table, singling out the Photo IDs and then display them. It worked. Now I just need to know what to display if there are no comments. This calls for another if else statement

No comments:

Post a Comment