PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
With help from you guys ive managed to view my online poll image in a different html page with this code, unfortunately it doesn't seem to update, but just shows the same graph each time as it was before. its not updating once a person clicks on the vote button.
it updates without the inclusion of my headers and footers, that's why i had to embed it using the <img statement but it doesn't update?
<?php
session_start();
ob_start();
// image.php is holding the header() and other info of the above picture
include ('../includes/header.html');
?>
<img src="show_poll.php">
<?php
include ('../includes/footer.html');
ob_end_flush();
?>
Any chance you could give us a link to go to? Granted, you'd have to make a new page, but by doing that we can a) experience exactly what the problem is and b) maybe you'll notice something you haven't before.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.