,
Shelley
-Original Message-
From: Tom Chubb [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 16, 2008 9:02 PM
To: PHP General List
Subject: [PHP] Word Wrap on highlight_file
Can anyone tell me how to wrap the results of highlight_file so it doesn't mess
up the size of my table div?
I
Can anyone tell me how to wrap the results of highlight_file so it
doesn't mess up the size of my table div?
I tried the following and doesn't work!
if ($ext == phps) {
$showcode = highlight_file($pathtoscripts . $_GET['file']);
echo wordwrap($showcode, 70);
} else {
echo Nice try, but
Tom Chubb schreef:
Can anyone tell me how to wrap the results of highlight_file so it
doesn't mess up the size of my table div?
use CSS to control the visual display in the browser.
not to mention that 'table div' doesn't make much sense as a concept.
probably you'll want to do something with
On 16/01/2008, Jochem Maas [EMAIL PROTECTED] wrote:
Tom Chubb schreef:
Can anyone tell me how to wrap the results of highlight_file so it
doesn't mess up the size of my table div?
use CSS to control the visual display in the browser.
not to mention that 'table div' doesn't make much sense
Tom Chubb schreef:
On 16/01/2008, Jochem Maas [EMAIL PROTECTED] wrote:
Tom Chubb schreef:
...
Jochem,
Thanks for that. So presumably it's not possible to do it in PHP?
there probably is but I can't tell what the problem is exactly without
seeing the output source and rendering, that
http://php.net/manual/en/function.wordwrap.php
(°-Nayco,
//\[EMAIL PROTECTED]
v_/_ http://nayco.free.fr
- Original Message -
From: Justin French [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Wednesday, September 12, 2001 3:39 AM
Subject: [PHP] word
Hi,
I'm having trouble with some email clients not wrapping text. So, what
I'd like to do is create a wrap function which enables me to wrap a long
text string at say 60 characters, by inserting a \n. Of course I don't
want to wrap RIGHT ON 60 chars, I want to wrap at the space just before
the
7 matches
Mail list logo