Location: PHPKode > projects > Advanced Reporting Portal > smiley.php
<?php

require "./connect.inc.php";

$sql_1 = "
INSERT INTO smileys VALUES (':D', 'bigsmile.gif')###
INSERT INTO smileys VALUES (':\\\(', 'sad.gif')###
INSERT INTO smileys VALUES (':-\\\(', 'angry.gif')###
INSERT INTO smileys VALUES (':o', 'shocked.gif')###
INSERT INTO smileys VALUES ('}\\\>', 'devil.gif')###
INSERT INTO smileys VALUES (':p', '02.gif')###
INSERT INTO smileys VALUES (':9', 'yum.gif')###
INSERT INTO smileys VALUES (':\\\*', 'kiss.gif')###
INSERT INTO smileys VALUES (':7', 'loveit.gif')###
INSERT INTO smileys VALUES (':P', 'tongue.gif')###
INSERT INTO smileys VALUES (':cry:', 'cry.gif')###
INSERT INTO smileys VALUES (':idea:', '12.gif')###
INSERT INTO smileys VALUES (':mrgreen:', 'mrgreen.gif')###
INSERT INTO smileys VALUES (':!:', '10.gif')###
INSERT INTO smileys VALUES (':bad:', '06.gif')###
INSERT INTO smileys VALUES (':good:', '07.gif')###
INSERT INTO smileys VALUES (':-)', 'happy.gif')###
INSERT INTO smileys VALUES (':O', '03.gif')###
INSERT INTO smileys VALUES (':flower:', 'flower.gif')###
INSERT INTO smileys VALUES (':kiss2:', 'kiss2.gif')###
INSERT INTO smileys VALUES (':coffee:', 'coffee.gif')###
INSERT INTO smileys VALUES (';)', '01.gif')###
INSERT INTO smileys VALUES (':biggrin:', 'biggrin.gif')###
INSERT INTO smileys VALUES (':bigups:', 'bigups.gif')###
INSERT INTO smileys VALUES (':8', 'cool.gif')###
INSERT INTO smileys VALUES (':bravo:', 'enaccord1.gif')###
INSERT INTO smileys VALUES (':hehe:', 'hehe-sign.gif')###
INSERT INTO smileys VALUES (':hi:', 'hi-sign.gif')###
INSERT INTO smileys VALUES (':confus:', 'icon_confus.gif')###
INSERT INTO smileys VALUES (':diable:', 'diablotin.gif')###
INSERT INTO smileys VALUES (':non:', 'icon_non.gif')###
INSERT INTO smileys VALUES (':zzz:', 'sommeil.gif')###
INSERT INTO smileys VALUES (':fache:', 'fache.gif')###
INSERT INTO smileys VALUES (':\\\)', 'smile.gif')###
INSERT INTO smileys VALUES (':merci:', 'merci.gif')###
INSERT INTO smileys VALUES (':coeuranime:', 'coeuranime.gif')###
INSERT INTO smileys VALUES (':jump:', 'jump.gif')###
INSERT INTO smileys VALUES (':jump1:', 'jump1.gif')###
INSERT INTO smileys VALUES (':lol:', 'lol.gif')###
INSERT INTO smileys VALUES (':violon:', 'pipo.gif')###
INSERT INTO smileys VALUES (':yaisse:', 'yaisse.gif')###
INSERT INTO smileys VALUES (':jaune:', 'yelcard.gif')###
INSERT INTO smileys VALUES (':rouge:', 'rouge.gif')###
INSERT INTO smileys VALUES (':sonic:', 'sonic.gif')###
INSERT INTO smileys VALUES (':bof:', 'bof.gif')###
INSERT INTO smileys VALUES ('8)', 'icon_soleil.gif')###
INSERT INTO smileys VALUES (';-)', 'wink.gif')
";

$table=split("###",$sql_1);
for ($i = 0; $i < 47; $i++) {
$sql_h_1 = mysql_query($table[$i]) or die ("Could not execute request ! err code : $table[$i]");
print "MySQL : $table[$i]<br>";
}

?>
Return current item: Advanced Reporting Portal