Is it possible to format text with php as in whenever php sees ~ in text it would put <br>.
I am not sure if it is possible as i am new to php.
ashneet
0
Junior Poster
Recommended Answers
Jump to PostWell, if you have a string, and you want to replace parts of that string with another string, maybe you should search for a PHP command to replace strings.
Jump to PostYou might be better to save the actual html to the database, or bbcode. There are plenty of scripts to help automate that. Let us know if you need any pointers.
Sarah
All 8 Replies
Electrohead
Troy
commented:
Post does not apply to the question.
+0
ashneet
0
Junior Poster
Troy
35
Posting Whiz
sarahk
0
Junior Poster
ashneet
0
Junior Poster
sarahk
0
Junior Poster
ashneet
0
Junior Poster
Electrohead
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.