Hi I have been working on getting a basic news system added onto a site but having troubles. I have made the upload form, form process script and display page and it works, well sorta. The news is uploading to the database fine but when I go to display it on the display page all single quotes in the news article get replaced with a square symbol, also any line breaks get lost in the system also. Whats the correct way to go about doing this? Cheers John Eva
Is the charset for the page the same as the data you are uploading? Also, you can use the php nl2br() function to convert linebreaks to <br />s.
Na I was insrting into a varchar using UTF 8 in the pages for the website upload page and display page, an also for the database.