sgt_spike Posted May 8, 2018 Share Posted May 8, 2018 I have a table pulling data from a database. Everything works getting the data to show in the table, however the content under the table isn't showing up. I'm using bootstrap 4.0 for layout, so I have rows and cols with the table being the third row and two other rows, not showing, under the 3rd row. I've moved one row about the table row and it show up, but put it back under the table and it disappears. I've ensured I have the right amount of div tags for each of the rows and cols. I'm at a loss Link to comment Share on other sites More sharing options...
dsonesuk Posted May 8, 2018 Share Posted May 8, 2018 Soooooo... how about link? code? something! else we will all end up at a loss. Link to comment Share on other sites More sharing options...
sgt_spike Posted May 10, 2018 Author Share Posted May 10, 2018 I'm not following what you are saying. Could you be more specific? Link to comment Share on other sites More sharing options...
justsomeguy Posted May 10, 2018 Share Posted May 10, 2018 You need to post the relevant code if you want help with it, or link to it if you have it online. Link to comment Share on other sites More sharing options...
sgt_spike Posted May 11, 2018 Author Share Posted May 11, 2018 Duh...my bad.... https://bacmedia.duckdns.org/index.php Link to comment Share on other sites More sharing options...
dsonesuk Posted May 11, 2018 Share Posted May 11, 2018 That's the end result returned from server, what about code that produced that result. On 5/8/2018 at 8:09 PM, sgt_spike said: I've ensured I have the right amount of div tags for each of the rows and cols. What about div tags for everywhere else? It does not validate, you have misplaced double quote in inline CSS, duplicate id value references, 3 missing closing div tags and no closing body or html tags https://validator.w3.org/nu/?showsource=yes&useragent=Validator.nu%2FLV+http%3A%2F%2Fvalidator.w3.org%2Fservices&acceptlanguage=&doc=https%3A%2F%2Fbacmedia.duckdns.org%2Findex.php#l23c3. Link to comment Share on other sites More sharing options...
sgt_spike Posted May 11, 2018 Author Share Posted May 11, 2018 Ah, I've been looking for that validator. I knew W3 had one. Anyways, I see my problem. It seems the php is making it seem like the tags aren't there. Hmmm, I'll have to research it more. Link to comment Share on other sites More sharing options...
justsomeguy Posted May 11, 2018 Share Posted May 11, 2018 Quote It seems the php is making it seem like the tags aren't there. Haha, the tags are either there or not. PHP does not impress the browser with its illusions and magic tricks, it just sends output. If you're seeing the HTML output stop at a certain point, my bet is that you have a fatal error and error reporting is turned off, so you're not seeing the error message. You can add this code to the top of your PHP code to set options at runtime. This will work for runtime errors, but not syntax errors in the same file. You can also review your settings in php.ini to make sure they're what you want them to be. It's common to display errors while you're developing, but for the live site write them to a log file that you can check later. ini_set('display_errors', 1); error_reporting(E_ALL); Link to comment Share on other sites More sharing options...
sgt_spike Posted May 12, 2018 Author Share Posted May 12, 2018 Thanks That worked like a charm. It was my php code messing things up. I appreciate the help 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