This is a discussion on PHP Adding/Editing DB via FORMS within the Coding Help forums, part of the Webmaster Help category; Originally Posted by louie on the display page try to convert the chr(10) and chr(13) to <br /> tags PHP ...
| |||||||
| Register | Forum Rules | FAQ | Donate | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||||
| Nope, had no effect at all on the string!? |
| |||||
| How is the string stored in the DB? can you copy & paste here?
__________________ :. Web Design & Development Web Design Ireland :. Search Engines Optimization Search Engines Optimization :. Directory Submission Directory Submission :. News & Press Release Ireland GiveItSocks.com :. Used Cars Ireland, Car Parts & Car Audio Cars For Sale, Car Parts & Accessories :. I Have 2 Find It Directory SEF Directory |
| |||||
| Its stored in a field of type text in the DB. Just like below: Quote:
|
| |||||
| If you look at the page source can you see the <br> tag? |
| |||||
| Shows up as <br>. |
| |||||
| that's your problem. run a replace function PHP Code: |
| |||||
| You are a genius louie, fair play to you, its working perfect now after so long of messing around, really appreciate the help, i owe you one man! |
| |||||
| no problem. you owe me more than one |
| Tags |
| adding or editing, forms, php |
| Thread Tools | |
| Display Modes | |
|
|
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ruby on Rails VS PHP Code Igniter | gav240z | Coding Help | 10 | 04-02-2008 12:04 AM |
| PHP Wierdness | elspudo | Coding Help | 3 | 18-12-2007 08:49 PM |
| form sending without php | Joseph Grogan | Coding Help | 5 | 05-09-2007 01:32 PM |
| PHP, OOPS! data typing | Mike | Coding Help | 2 | 24-08-2007 02:44 PM |
| WTF - Some PHP Obfuscation. | daviddoran | General Chat | 8 | 20-02-2007 05:45 PM |
| ||||||||
| | ![]() | |||||||