#1 ()  
Old 01-08-2008, 02:18 AM
TheDonk's Avatar
TheDonk TheDonk is offline
Rebel Freedom Fighter
 
Join Date: Feb 2007
Posts: 582
Thanks: 0
Thanked 3 Times in 2 Posts
Send a message via MSN to TheDonk
Default Need Coding Help

Here's what I'm trying to accomplish. I want to be able to have a photo on the left with accompanying text on the right. There would be 10-20 separate rows of these, but I need the photos & accompanying text to mix randomly each time the page is loaded (text stays with photo). So every time a person came to this page each row would randomly change. Anyone know how to do this?

I'm a monkey with coding so I need it already done for me so I could copy and paste it into a page. If you have this available and don't mind sharing it, please post it here. If you can create it, please PM me what it would cost.

Also, if you know of a cool template that can do this without me having to stick in widgets or doodaddy's that would work too.

Thanks,

TheDonk
__________________
Get free backlinks and traffic - Submit your poker news, strategy, promotion and gossip articles, or go here to submit your gambling articles - Free for a limited time!
Reply With Quote
  #2 ()  
Old 01-08-2008, 06:49 AM
LadyHoldem's Avatar
LadyHoldem LadyHoldem is offline
Mouthy American Girl
 
Join Date: Mar 2006
Posts: 1,452
Thanks: 26
Thanked 11 Times in 10 Posts
Send a message via MSN to LadyHoldem Send a message via Yahoo to LadyHoldem Send a message via Skype™ to LadyHoldem
Default

I can and would be happy to help you later on Donk, my lil angel daughter just crawled into my bed, and it seems such a missed opp not to crawl in and snuggle her right up!

But that's some easy html you're needing, be glad to hook ya up in a few hours, IM me on Skype - LadyHoldem
Reply With Quote
  #3 ()  
Old 01-08-2008, 08:36 AM
mikebrad mikebrad is offline
Members
 
Join Date: Nov 2005
Posts: 751
Thanks: 0
Thanked 1 Time in 1 Post
Default

PHP Code:
<?php 
$content 
= array( 
    
'image1|Text 1'
    
'image2|Text 2'
    
'image3|Text 3'
    
'image4|Text 4' 
); 

shuffle($content); 

foreach (
$content as $value

    
$explode explode('|'$value); 
    echo 
'<p><img src="/images/' $explode[0] . '.gif" border="0" width="100" height="50" align="absmiddle">' $explode[1] . '</p>'

?>
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
coding problem NewPokerGirl Web Design Q&A 2 10-19-2007 12:52 AM
Quick PHP coding Holis Web Design Service & Coding 0 10-09-2007 03:35 PM
Need some coding work done NOW Georgia Poker General Poker Affiliate Discussion 24 12-20-2006 09:20 PM
Website Coding question absentx General Poker Affiliate Discussion 3 12-19-2005 03:12 AM
Selling a Rake Rebate site! Godfather The Poker Affiliate Exchange 6 10-08-2005 02:30 AM


All times are GMT -5. The time now is 01:15 PM.


Copyright 2008 PokerAffiliatePrograms.com


SEO by vBSEO 3.2.0