Canaan Posted September 28, 2017 Share Posted September 28, 2017 I am creating a review page for a website where each review is stored in a SQL database. These records are then outputted to a page in CSS DIVs to structure the records on page. However, each record is nested inside of each other on the page once the while loop is done outputting the whole table. I'm not sure how to stop this nesting effect as I have been stuck on this for a few days with no result. This is just a logical error as there are no syntax errors in the page inspect console. The link to the page is here and the divs that are nesting are labeled refrecord, infocontent and socialmedia. http://canaan-canaan.codeanyapp.com/AlwaysBeeBuilding/Reviews.php i have also attached a expected result image showing what i wanted it to do then an actual result image which is what is currently happening. I need it to be like the one where all the divs are next to eachother. - the images arent uploading Link to comment Share on other sites More sharing options...
ginerjm Posted September 28, 2017 Share Posted September 28, 2017 When you say nesting it sounds like the divs are all inside each other instead of being individually defined. My guess is you are missing the ending div tag in your loop. Of course you could be using the word nesting in a completely different sense, but nah, you wouldn't do that..... Link to comment Share on other sites More sharing options...
Canaan Posted September 28, 2017 Author Share Posted September 28, 2017 When you say nesting it sounds like the divs are all inside each other instead of being individually defined. My guess is you are missing the ending div tag in your loop. Of course you could be using the word nesting in a completely different sense, but nah, you wouldn't do that..... Thankyou but it was one of those situations where i had to rewrite the situation then found out there was a spare single speech mark left over ahaha cant beleive ive spent like two weeks on this Link to comment Share on other sites More sharing options...
ginerjm Posted September 28, 2017 Share Posted September 28, 2017 "speech mark"?? What is that? And plz mark this as resolved/closed. Link to comment Share on other sites More sharing options...
cyberRobot Posted September 28, 2017 Share Posted September 28, 2017 And plz mark this as resolved/closed. Done Link to comment Share on other sites More sharing options...
ginerjm Posted September 28, 2017 Share Posted September 28, 2017 But - What is a 'speech mark'?? Inquiring minds..... Link to comment Share on other sites More sharing options...
cyberRobot Posted September 28, 2017 Share Posted September 28, 2017 But - What is a 'speech mark'?? Inquiring minds..... Wiki says they're the same things as quotes. Perhaps curly / smart quotes were messing something up... Link to comment Share on other sites More sharing options...
ginerjm Posted September 28, 2017 Share Posted September 28, 2017 I was hoping the OP would enlighten me... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.