View Full Version : compressing a db field to one (html line)
sabret00the
08-13-2006, 10:24 AM
how would i go about doing this?
$query['pagetext'] = str_replace("\n", '', $query['pagetext']);?
Antivirus
08-13-2006, 08:02 PM
Maybe if you output it within your template like this:
<div style="white-space:nowrap">$pagetext</div>
sabret00the
08-13-2006, 08:06 PM
i actually need it done in the code.
Antivirus
08-13-2006, 08:55 PM
Hmm, I misunderstood, sorry.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.