View unanswered posts | View active topics It is currently Sun Aug 07, 2022 9:10 pm



Reply to topic  [ 2 posts ] 
 make it singel line??? 
Author Message
Junior Member

Joined: Sat Sep 27, 2003 2:37 pm
Posts: 2
Post 
this is too simple I have a variable $mycontent and inside of that it has a value of word separetd with enterkey (or Break Line) here is the detail of the value

------------------------------------------------------
$macontent (look down for the content of the variable)
IT SO GOOOD TO BE TRUE
NICE AND PERFECT DAY
THE ONE WHO WILL LEAD US IS YOU
ONE DAY, ONE NIGHT
IT IS A SIMPLE DAY
------------------------------------------------

I want this variable to be form as a single line and remove the break lines, can someone help me on how to manage this problem, do I have to use replace or it should be an array or what? thanks for the help :)


Sat Sep 27, 2003 2:50 pm
Report this post
Profile
Junior Member

Joined: Sat Sep 27, 2003 2:37 pm
Posts: 2
Post 
thanks, I'll try that :)


Mon Sep 29, 2003 8:36 am
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.