Thread
:
quick simple php question
View Single Post
05-15-2013, 02:06 PM
HomerSimpson
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
you need to remove new lines (or <br> tags) from that string
new lines
$x = str_replace(array("\r\n","\r"),"",$x);
tags (will strip all)
$x = strip_tags($x);
and then echo it
__________________
Make a bank with Chaturbate - the best selling webcam program
Ads that can't be block with AdBlockers !!!
///
Best paying popup program (Bitcoin payouts) !!!
PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:
HomerSimpson
View Public Profile
Visit HomerSimpson's homepage!
Find More Posts by HomerSimpson