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. |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
08-11-2011, 08:22 PM | #1 |
Confirmed User
Industry Role:
Join Date: Jun 2011
Location: in the back room wanking
Posts: 2,024
|
php help needed
i have a problem with my site xxxaus.com
on the index page my girls profiles dont sit in the grid right if there is a long suburb in the box is there a peace of code i can put in to space out the box,s maybe to drop down another line
__________________
asiamoviepass.com |
08-11-2011, 08:28 PM | #2 |
Raise Your Weapon
Industry Role:
Join Date: Jun 2003
Location: Outback Australia
Posts: 15,605
|
Trim the length of the string ? Or use css and make the text for the suburb smaller.
http://php.net/manual/en/function.substr.php |
08-11-2011, 08:36 PM | #3 |
Confirmed User
Industry Role:
Join Date: Jun 2011
Location: in the back room wanking
Posts: 2,024
|
thanks ill have a look cheers
__________________
asiamoviepass.com |
08-11-2011, 08:38 PM | #4 |
Raise Your Weapon
Industry Role:
Join Date: Jun 2003
Location: Outback Australia
Posts: 15,605
|
You realize that you have istockphoto watermarks all over the place on that site ?
|
08-11-2011, 08:38 PM | #5 |
Confirmed User
Industry Role:
Join Date: Dec 2004
Location: Denver
Posts: 6,559
|
Yeah, I'd just use substr to trim the first X characters of the suburb variable instead of printing the whole thing.
__________________
|
08-11-2011, 09:53 PM | #6 |
Confirmed User
Industry Role:
Join Date: Jun 2011
Location: in the back room wanking
Posts: 2,024
|
im really new to this
were do i put echo substr('abcdef', 1); <?php echo GetValue("city","name","id",$f_row->city); ?>
__________________
asiamoviepass.com |
08-11-2011, 10:01 PM | #7 |
So Fucking Banned
Industry Role:
Join Date: Jun 2011
Location: the land of woke sleuths
Posts: 16,493
|
|
08-11-2011, 10:01 PM | #8 |
Unregistered Abuser
Industry Role:
Join Date: Oct 2007
Posts: 15,547
|
that header is too tall imo mate
not a bad little site tho - goodluck with it |
08-11-2011, 10:03 PM | #9 |
Confirmed User
Industry Role:
Join Date: Jun 2011
Location: in the back room wanking
Posts: 2,024
|
its taken 5 weeks to get this fare still needs work but im trying to do it by myself
__________________
asiamoviepass.com |
08-11-2011, 10:12 PM | #10 |
Too lazy to set a custom title
Join Date: Mar 2009
Posts: 11,039
|
$YourVar = "drmadcat";
echo substr($YourVar, 0, 4); // will print "drma" Good luck
__________________
NICERATIOS - $30 PPS - 50% Rev Share - 5% WM Referral - High Converting Sites!
Any questions about your NICERATIOS account? Vanessa will take care of you: [email protected] Looking to expand your business in general, maybe sell your sites? Contact me: [email protected] |
08-11-2011, 10:35 PM | #11 |
Confirmed User
Industry Role:
Join Date: Jun 2011
Location: in the back room wanking
Posts: 2,024
|
thanks but were do i put that code
__________________
asiamoviepass.com |
08-12-2011, 03:35 AM | #12 |
Too lazy to set a custom title
Join Date: Jan 2002
Location: Holland
Posts: 9,870
|
you better use css to solve that problem, fix the width and height of the box and set overflow to hidden.
__________________
Don't let greediness blur your vision | You gotta let some shit slide icq - 441-456-888 |