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 08-11-2011, 08:22 PM   #1
drmadcat
Confirmed User
 
drmadcat's Avatar
 
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
drmadcat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2011, 08:28 PM   #2
AdultKing
Raise Your Weapon
 
AdultKing's Avatar
 
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
AdultKing is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2011, 08:36 PM   #3
drmadcat
Confirmed User
 
drmadcat's Avatar
 
Industry Role:
Join Date: Jun 2011
Location: in the back room wanking
Posts: 2,024
thanks ill have a look cheers
__________________
asiamoviepass.com
drmadcat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2011, 08:38 PM   #4
AdultKing
Raise Your Weapon
 
AdultKing's Avatar
 
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 ?
AdultKing is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2011, 08:38 PM   #5
potter
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.
__________________

potter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2011, 09:53 PM   #6
drmadcat
Confirmed User
 
drmadcat's Avatar
 
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
drmadcat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2011, 10:01 PM   #7
bean-aid
So Fucking Banned
 
Industry Role:
Join Date: Jun 2011
Location: the land of woke sleuths
Posts: 16,493
I think you know what your doing...

https://gfy.com/showthread.php?p=18349032#post18349032\
bean-aid is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2011, 10:01 PM   #8
papill0n
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
papill0n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2011, 10:03 PM   #9
drmadcat
Confirmed User
 
drmadcat's Avatar
 
Industry Role:
Join Date: Jun 2011
Location: in the back room wanking
Posts: 2,024
Quote:
Originally Posted by papill0n View Post
that header is too tall imo mate

not a bad little site tho - goodluck with it
its taken 5 weeks to get this fare still needs work but im trying to do it by myself
__________________
asiamoviepass.com
drmadcat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2011, 10:12 PM   #10
michael.kickass
Too lazy to set a custom title
 
michael.kickass's Avatar
 
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]
michael.kickass is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2011, 10:35 PM   #11
drmadcat
Confirmed User
 
drmadcat's Avatar
 
Industry Role:
Join Date: Jun 2011
Location: in the back room wanking
Posts: 2,024
Quote:
Originally Posted by michael.kickass View Post
$YourVar = "drmadcat";

echo substr($YourVar, 0, 4); // will print "drma"

Good luck
thanks but were do i put that code
__________________
asiamoviepass.com
drmadcat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-12-2011, 03:35 AM   #12
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
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
grumpy 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

Tags
php



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.