Jump to content

Recommended Posts

hi guys, have been developing a website over the lkast few weeks, have had some help from this fourm a lot!

 

Here is is: http://www.maddogmagazine.co.uk

 

Ive just added a news section and the idea is our contributers add thier own stories in using a web form etc. The problem i'm having is that people are obviously cut and pasting from a Word document. For some reason this is bringing in wierd commas that look slightly different than normal!? These don't display in the browser, but instead a ? is put in in Firefox and a square is put in in IE. Has anyone encountered this before??

 

Heres the link to specific page: http://www.maddogmagazine.co.uk/musicnews.php

 

Cheers for any help guys! As i said before, people here have been a great help whilst developing the site so far, you rule!

 

Chris

 

Link to comment
https://forums.phpfreaks.com/topic/150729-character-display-issue/
Share on other sites

haha tell me about it!

 

ok i tried this:

 

$title = $_POST['title'];
$content = $_POST['content'];
$date = date("Y-m-d");

mb_convert_encoding($content, "ISO-8859-1", "auto")

 

And got this error:

 

Parse error: syntax error, unexpected T_STRING in /home/maddogma/public_html/news/newswrite.php on line 19

 

 

lol???

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.