I am missing something but I have successfuly imported data from an XML file but am having problems with the simplest of tasks - the data contains a string containing <p> and <p /> html tags but my attempts to remove them and replace them are failing -
$newpara=str_replace("<p />;"," ",$hdesc);
Not too familiar with str_replace so any ideas where I am going wrong? PHP newbie so be gentle with me
$newpara=str_replace("<p />;"," ",$hdesc);
Not too familiar with str_replace so any ideas where I am going wrong? PHP newbie so be gentle with me