Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sqlite #10

Merged
merged 6 commits into from
Dec 16, 2020
Merged

Sqlite #10

merged 6 commits into from
Dec 16, 2020

Conversation

alex-moreno
Copy link
Owner

No description provided.

html/index.php Outdated Show resolved Hide resolved
html/index.php Outdated
// Instantiate our Twig
$twig = new \Twig\Environment($loader);
$template = $twig->load('results_status.twig');
echo $template->render(['headers' => $headers, 'rows' => $rows]);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should think about buffering output rather than using two separate echo statements.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't we get the full html page output rendered twice in this case?

@iainp999 iainp999 merged commit 827960f into main Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants