merhaba arkadaşlar. herkese hayırlı bir gün dilerim. bir arkadaşın yaptığı random logo olayını kullanmaktayım ama ben o linklerin farklı olmasını istiyorum. linkler şu şekilde olmalı
<a href="javascript:Gizemsiz()"> <a href="#" onclick="javascript:Gizemsiz()"> » Mesaj</a><br></a>
<?php
//You will have to change the ban1, ban2, and ban3 variables. You can change these links to point at the images you want displayed.
//You will have to change the url1, url2, and url3 variables. You want these to be urls of the pages you want to link to.
$ban1 = "http://banneradresi.com/.gif";
$url1 = "Hosting Accelerator Control Panel";
$ban2 = "http://banneradresi.com/.gif";
$url2 = "Hosting Accelerator Control Panel";
$ban3 = "http://banneradresi.com/.gif";
$url3 = "Hosting Accelerator Control Panel";
//Random number between 1 and number of banners.
$randomNum = rand (1,3);
//Select the banner of the random number
$image = ${'ban'.$randomNum};
//Url of the random number
$url= ${'url'.$randomNum};
//Prints out the link of the banner and the image of the banner
Print "<a href=".$url." mce_href=".$url."><img src=".$image." border=0></a>";
?>
bu url3 , url2 ve url1 kısımları yukarıda verdiğim şekilde olmalı. ben koydum fakat hata verdi. nasıl koymalıyım? tüm linklerin hrefleri 1 tane olacak ve yukarıdakinin aynısı. bilgili arkadaşlar yardımcı olabilir mi?
teşekkürler, saygılar.