Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: PHP ir MySQL klasimai

Parašė CyTaS· 2011 Rugs. 16 23:09:56
#1

Pirma turiu Facebook likebox, naudoju toki koda

openside("Mes FaceBook'e");
?>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) {return;}
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
 
<div class="fb-like-box" data-href="http://www.facebook.com/pages/CSGO-Lithuanian-Community/234035276645082" data-width="200" data-show-faces="true" data-stream="false" data-header="false"></div>
<?
closeside();

Kaip padaryt kad like box lygiuotu per vidury?
Antras klausimas naudoju PHP-F v7 ir man ant shoutbox meta tokia klaida

Table 'cytas_mysql.DB_SHOUTBOX' doesn't existYou have an error in your SQL syntax; check the manual that corresponds to your <span style="border-bottom: 1px dotted black;">MySQL</span> server version for the right syntax to use near '' at line 3