In table Facebook I have column name. In column name I have facebook name pages. How to print all facebook iframe buttons.
<?php
$db_host = 'localhost';
$db_user = '';
$db_pass = '';
$db_name = '';
$db = mysqli_connect($db_host, $db_user, $db_pass, $db_name);
$result=mysqli_query($db, "SELECT * FROM Facebook");
while($row = mysqli_fetch_array($result)){
echo '<iframe src="http://ift.tt/HVwOiy echo "http://ift.tt/17ykDLB['name']"; ?>&width&layout=button_count&action=like&show_faces=false&share=false&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:35px;" allowTransparency="true"></iframe>';
}
?>
Aucun commentaire:
Enregistrer un commentaire