Toby:

On Thu, Jul 01, 2004 at 10:57:18AM +0200, Tobias Schlitt wrote:
> Hi Christian Wenz! You wrote:
> > * Using <pre> on view.php is probably not a good idea (TM, again), since
> > in that case longer lines are not wrapped automatically (see id=61).
> 
> True. I will either change that to a div with adequate CSS or do a manula
> wrapping in PHP.

This is a tough balance.  Wrapping example scripts sucks, but not wrapping 
text sucks.

Hmm, maybe put a note on the input form saying to put code between <?php 
and ?>.  Then have the scripts treat the stuff between the tags as pre 
while the remainder is treated as text?

Thanks,

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to