Skip to content

Tag: html

Output flickers if I include HTML in PHP

for my website i have some static header/footer HTML and some dynamic content generated by PHP. When it comes to render the output I just include a file with HTML inside from my PHP code. This works perfect – also when I switch between pages. But I also need some header.hmtl and footer.html that contain…

creating a quiz with php and pdo

I’ve created a quiz for my website, the admin can sign in and change the questions or add questions etc. For the quiz page I’m taking the information down like so: try { $stmt = $db->query(‘…