I would like to create a block in a custom module and have the block display a form or some text but not both. How would I determine if the form was submitted successfully so the code could either return the form or the text?
Drupal redirects to /core/install.php when I try to open page including a SQLite query
I have a Drupal site on a web server. On one page of the site, I want to print out information from a sqlite database. But if I enter the url to the page, I get redirected to /core/install.php
I integrated the database into the /sites/defualt/settings.php with the following code: