PHP comes up blank screen after loading.
Go to solution
Solved by SnowyMus,
By default, PHP doesn't output any errors for things like syntax errors, and this is necessary for security reasons. You can enable displaying errors by modifying your php's ini file.
The issue is that you cannot just create another <?php> to close a curly brace from a previous <?php> tag. If you delete the second php block and add a curly brace to the end of the first code block, it should display text.
Oh, you may want to also use code blocks when you post code to add syntax highlighting and make your code look easier to read.
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