On the site added Polls from VK. The poll code itself was stuffed into MySQL.
Added two polls, and they "got out" on each other.
The two MySQL have the same code:
<!-- Put this script tag to the <head> of your page --> <script type="text/javascript" src="//vk.com/js/api/openapi.js?137"></script> <!-- Put this div tag to the place, where the Poll block will be --> <div id="vk_poll"></div> <script type="text/javascript"> VK.Widgets.Poll("vk_poll", {width: 300, height: 150}, "252365263_929139d2b1c4c5748c"); </script><br> while ($myrow3 = mysqli_fetch_array($result3)){ echo " <div class='news'> ".$content." <p> <table class='info'> <td><img src='img/clock.png'></td> <td>".$date."</td> </table> </p> </div> <hr bgcolor='gray' width='100%'>"; } In connection to the database everything is OK:
