![]() |
![]() |
|
|||||||
| Register | Forum Rules | Getting Started! - Guide | Blog | Videos | Gallery | Members List | Social Groups | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member (25+)
|
Random Image Display
Create a simple random image display. This code can easily be adapted to display other random things, such as quotes etc.
Step 1 Open your favourite text editor and copy the code and save that file as random.php: PHP Code:
Next you will need to make a file called random.txt and it should include something like this: Code:
<a href="banner.php?id=banner1"><img src="banner1.gif" border="0"></a> <a href="banner.php?id=banner2"><img src="banner2.gif" border="0"></a> Upload all files to your site (the ones you want in the random display) Then include random.php in your page where you want them to show up, a simple php include can do this: ![]() |
|
|
|
|
|
#2 |
|
Network Dude
Join Date: Nov 2005
Posts: 152
Thanks: 7
Thanked 16 Times in 14 Posts
Rep Power: 6
![]() ![]() OS:
|
I expects ,you will teach me it detaily
__________________
Internet Technology Blog |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| True Image 10.0 Will Not Restore Image Help | Tom | Windows XP | 4 | 28-08-2007 06:10 PM |
| Display Image Size | Waz Up | Windows XP | 1 | 27-08-2007 10:49 PM |
| Image Restore Problem: Can't Locate Image | Paputxi | Windows Vista All | 4 | 18-08-2007 08:11 AM |
| Vista Business wont retain my display settings (on multiple display setup) | Jim Lally | Windows Vista All | 0 | 18-08-2007 01:00 AM |
| Display Size of Image. | Waz Up | Windows XP | 7 | 16-08-2007 10:43 AM |
< Home - Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |