![]() |
![]() |
|
||||
|
PHP include help!
Ok i have this working script now thanks to a member here:
Quote: <? //populate following array with image urls $images = Array( "http://www.xninelivesx.com/header_1.jpg", "http://www.xninelivesx.com/header_2.jpg", "http://www.xninelivesx.com/header_3.jpg", "http://www.xninelivesx.com/header_4.jpg", "http://www.xninelivesx.com/header_5.jpg" ); $random_image = $images[rand(0,count($images)-1)]; echo "<img src=\"$random_image\">"; ?> that works perfect.. now i need to use it as an include on my forums.. please give me the right code! thanks, |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Learn How To Install PHP Scripts | squeege | Programming / Scripts | 7 | 02-14-2009 08:34 AM |
| PHP confusion | Buggy123 | Programming / Scripts | 1 | 10-14-2008 07:46 PM |
| Indian PHP developer | shru_development | Making Money / Main Discussion Forum | 0 | 04-12-2008 09:48 AM |
Products |
This is a revenue share forum |
![]() |
![]() |
![]() |