Jump to content

Help with PHP & Forms


johnhuk

Recommended Posts

Hey

Can anyone offer any help on this.....  I'm running Linux server and using Macromedia Dreamweaver MX (have 8 also but don't like it) and the results of the form are stored in a MySQL Database.

I'm building a website where a user can register for full access - so.........

On the registration form there is a textbox where the user can enter a description of themselves, hobbies, interests blah blah blah...

When the information is entered into the DB, and then retreived into a .php page it appears with no breaks, spaces or paragraphs, even if you entered them into the text box.  I've found that you manually have to enter a <'br'> tag (obviously without the apostrophies!) or two of them together to enter a new paragraph.

This is not a great solution as not all users are familiar with HTML tags.  Is there a way (setting in DW or such) whereby you can get test entered into the textbox to appear on pages *exactly* as it was entered *without* HTML tags?  With entered breaks and paragraphs in tact?

Anyone who can solve this headache for me will have my gratitude!

Many thanks
JohnHuk
Link to comment
https://forums.phpfreaks.com/topic/34124-help-with-php-forms/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.