//GET DATA FOR FLASH $pic1 = "http://www.paulbrooksdesign.com/images/indeximages/1.jpg"; $pic2 = "http://www.paulbrooksdesign.com/images/indeximages/2.jpg"; $pic3 = "http://www.paulbrooksdesign.com/images/indeximages/3.jpg"; $pic4 = "http://www.paulbrooksdesign.com/images/indeximages/4.jpg"; $pic5 = "http://www.paulbrooksdesign.com/images/indeximages/5.jpg"; $pic6 = "http://www.paulbrooksdesign.com/images/indeximages/6.jpg"; $pic7 = "http://www.paulbrooksdesign.com/images/indeximages/7.jpg"; $pic8 = "http://www.paulbrooksdesign.com/images/indeximages/8.jpg"; $pic9 = "http://www.paulbrooksdesign.com/images/indeximages/9.jpg"; //GET DATA FROM DATABASE include("dbinfo.inc.php"); mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query2="SELECT * FROM constant WHERE id='1'"; $result2=mysql_query($query2); $indexnum=mysql_result($result2,0,"indexnum"); $indexwait=mysql_result($result2,0,"indexwait"); ?>