Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-12-2009, 12:53 PM   #1
Fucksakes
Shit... Fuck! What the Hell?
 
Fucksakes's Avatar
 
Industry Role:
Join Date: Dec 2003
Posts: 7,567
whats wrong with this code php.

PHP Code:
<?php$banners = array('<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=466753644"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-13.jpg "></a>','<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=466753674"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-11.jpg"></a>','<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=466753670"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-10.jpg"></a>','<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=466753642"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-7.jpg"></a>','<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=459380515"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-6.jpg"></a>','<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=467926268"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-3.jpg"></a>');shuffle($banners);echo $banners[0];?>
Fucksakes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-12-2009, 12:54 PM   #2
Fucksakes
Shit... Fuck! What the Hell?
 
Fucksakes's Avatar
 
Industry Role:
Join Date: Dec 2003
Posts: 7,567
my god that hard on the eyes.. if anyone can even read that.. getting an

Parse error: syntax error, unexpected T_VARIABLE

error
Fucksakes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-12-2009, 01:06 PM   #3
fatfoo
ICQ:649699063
 
Industry Role:
Join Date: Mar 2003
Posts: 27,763
I have no idea, Fucksakes. Here's a bump for a more informative reply.
__________________
Send me an email: [email protected]
fatfoo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-12-2009, 01:12 PM   #4
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,233
nothing

http://pastebin.com/m59a11527
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-12-2009, 01:14 PM   #5
Fucksakes
Shit... Fuck! What the Hell?
 
Fucksakes's Avatar
 
Industry Role:
Join Date: Dec 2003
Posts: 7,567
Quote:
Originally Posted by fris View Post
weird... trying to add it to a blog side bar to rotate ads.
Fucksakes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-12-2009, 01:14 PM   #6
Tube Ace
So Fucking Banned
 
Industry Role:
Join Date: Nov 2008
Location: with your dream girl
Posts: 4,941
PHP Code:
<?php
$banners 
= array('<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=466753644"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-13.jpg "></a>',
                 
'<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=466753674"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-11.jpg"></a>',
                 
'<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=466753670"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-10.jpg"></a>',
                 
'<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=466753642"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-7.jpg"></a>',
                 
'<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=459380515"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-6.jpg"></a>',
                 
'<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=467926268"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-3.jpg"></a>');

shuffle($banners);
echo 
$banners[0];
?>
Tube Ace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-12-2009, 01:15 PM   #7
nation-x
Confirmed User
 
nation-x's Avatar
 
Industry Role:
Join Date: Mar 2004
Location: Rock Hill, SC
Posts: 5,370
There is nothing wrong with the code... it's how you have it formatted.

Code:
<?php
$banners = array('<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=466753644"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-13.jpg "></a>','<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=466753674"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-11.jpg"></a>','<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=466753670"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-10.jpg"></a>','<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=466753642"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-7.jpg"></a>','<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=459380515"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-6.jpg"></a>','<a href="http://www.shareasale.com/m-pr.cfm?merchantID=14282&userID=270588&productID=467926268"><img border="0" src="http://www.fightpassport.com/wp-content/uploads/2009/12/mma-gear-3.jpg"></a>');

shuffle($banners);
echo $banners[0];
?>
nation-x is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-12-2009, 01:17 PM   #8
Fucksakes
Shit... Fuck! What the Hell?
 
Fucksakes's Avatar
 
Industry Role:
Join Date: Dec 2003
Posts: 7,567
ah ok, thanks a ton
Fucksakes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.