03-27-2017, 06:54 AM
Sorry for the late response, been away for the weekend.
The error that I am getting is that the html is cut off right where I place the php. So when I right click on the page to view the source, no code is shown below where I have placed the php code. That's it.
I've looked through the document to see if there were any end tags missing, but there's not.
Edit: Actually, to be more specific:
The query itself doesn't seem to cut off the rest of the code. I tried placing it in the designated place for php:
`<?php
//PHP Goes Here!
$users = $db->query("SELECT * FROM users");
?>'
And then <?=$users?> further down in a <div>.
The rest of the code is cut off below the point where I have placed the echo. (And no result is shown from the query)
The error that I am getting is that the html is cut off right where I place the php. So when I right click on the page to view the source, no code is shown below where I have placed the php code. That's it.
I've looked through the document to see if there were any end tags missing, but there's not.
Edit: Actually, to be more specific:
The query itself doesn't seem to cut off the rest of the code. I tried placing it in the designated place for php:
`<?php
//PHP Goes Here!
$users = $db->query("SELECT * FROM users");
?>'
And then <?=$users?> further down in a <div>.
The rest of the code is cut off below the point where I have placed the echo. (And no result is shown from the query)