PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
<?php
$Img1 = "http://www.thingamababy.com/images/buttons2.jpg";
$Alt1 = "[advertisement] (place your alt text here)";
$Url1 = "http://www. (the url of the link)";
$Img2 ="http://www.istockphoto.com/file_thumbview_approve/5525527/2/istockphoto_5525527-simple-shiny-buttons.jpg";
$Alt2 = "[advertisement] pro-dezign web development";
$Url2 = "http://www.pro-dezign.com/index.html";
$num = rand (1,2);
$Image = ${'Img'.$num};
$Alt = ${'Alt' .$num};
$URL = ${'Url'.$num};
Print "<a href=\"".$URL."\"><img src=\"".$Image."\" alt=\"".$Alt."\" /</a>";
?>
<meta http-equiv="refresh" content="5">
i have this script this is a banner rotator for a web master but not for a biginer my client wants a script that use xml and a folder of images so that he save or del images in the folder and xml and php script auto update so there is no need to update php code or xml on any update can any one know about that script thankZ