PHP
<?php
$textausgabe = array(
' <a href="******URL" target="_Blank"><img src="http://netroid.de/files/2012/06/ask_fm-logo-512x185.png" width="50px" height="50px"></a><div class="clr"></div></div><div class="test">****************</div> '
' <a href="http://ww**********" target="_Blank"><img src="images/fb.png" width="50px" height="50px"></a><div class="clr"></div></div><div class="test">K****** on Facebook '
);
$random = mt_rand(0, count($textausgabe)-1);
echo $textausgabe[$random];
?>
Alles anzeigen
Fehler
Zitat
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in *****/ad1.php on line 4