Results 1 to 3 of 3
Thread: XML: Undefined entity Acirc ??
Jun 26, 2009, 12:15 #1
- Join Date
- Jan 2009
- West Yorkshire, UK
- 0 Post(s)
- 0 Thread(s)
XML: Undefined entity Acirc ??
I have done my usual XML PHP output file, except with this output their is a problem with one of the entities.
I have removed the pass key, any ideas what's wrong with this?
I ran it trough some validation and it says:
Warning: Undefined entity Acirc
in unnamed entity at line 13 char 8066 of http://cheats.funshed.com/cheatsdb.p...ship%20edition
Warning: Undefined entity frac12
in unnamed entity at line 13 char 8074 of http://cheats.funshed.com/cheatsdb.p...ship%20edition
(it may appear slow, the sub domain is currently hosted on my (this) laptop)
Jun 30, 2009, 06:45 #2
Im still having problems with this issue, the webserver was offline so sorry if you tried to help before. Here is the error I receave
XML Parsing Error: undefined entity Location: http://cheats.funshed.com/cheatsdb.php?platform=xbox%20360&txtSearch=bully:%20scholarship%20edition Line Number 13, Column 8059:
Any advice, or guidance is appreciated.
Jun 30, 2009, 08:46 #3
Tried lots of things to solve this, but I think it was these code that fixed it for me.
$search = array('&','<','>','"','\'');
$replace = array('&','<','>','"',''');
$text = str_replace($search,$replace,$text);