FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


image drawing with php





n0obie4life
okay. i have a nice 600*175 image.

but there are some lines which are extremely long..

so, they get past the 600th pixel.

How do i make it so that..if a text goes past the 600px, it'll split it into a second line.
BlackSkad
I don't think that is possible (but I'm not an expert so it still might be)
It might be easier to use a certain number of characters that fit on a line and then break your string in pieces of that length with substring or so.

BlackSkad
n0obie4life
BlackSkad wrote:
I don't think that is possible (but I'm not an expert so it still might be)
It might be easier to use a certain number of characters that fit on a line and then break your string in pieces of that length with substring or so.

BlackSkad


It is Wink.

Use wordwrap, then "\n" add the addon para Smile.

-close-
Related topics
Dynamic PHP Images
Photoshop/Gimp contest: Bondings' FACE!!
image on top of image
script show off- simplecron(tmp name, might change)
Can you have upload scripts on frihost sites?
Opening any image with PHP. Couldn't find anywhere.
upload image through PHP AND AJAX
looking for tutorial
Weird Image Problem...
Image Editing (PHP)
Uploading an Image using PHP script - RESOLVED
Image Copying
PHP imagecreate + CSS problem.
PHP imagecreate + CSS problem.
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.