function rastgele_resim($resim_sayisi="1") {
global $wpdb;
$sorgu = mysql_query("SELECT resim FROM $wpdb->rastgeleresim ORDER BY rand() LIMIT $resim_sayisi");
while($sonuclar = mysql_fetch_array($sorgu) {
echo "<img src=\"$sonuclar[0]\" /></br>";
}
Merhabalar, teşekkür ederim denedim fakat aldığım hata
Parse error: syntax error, unexpected '{' in /home/fenert/public_html/wp-content/plugins/rastgele_resim.php on line 17