Help?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

 

I am fairly new to PHP and am having an (SILLY) issue that I cannot seem
to resolve:

 

I am pulling data from an html file and some of the lines of text that I
need start with "</a>".

I cannot seem to get rid of that tag!!!

 

I have tried:

*	str_replace("<\a>", "", $line)
*	preg_replace('/<\/a>/', '', $line)  and various other attempts
at creating the appropriate regex for <\a>
*	$line = htmlspecialchars($line)

str_replace("&lt;/a&gt;", "", $line)

*	And obviously strip_tags is not working for me either!

 

Do you have any suggestions?

 

Best Regards,

 

Rochelle Clinton

Bioinformatics Coordinator

University of Kentucky

200 Thomas Hunt Morgan Building

office: (859) 257-2161

cell: (406) 570-5383

email: raclin3@xxxxxxxxxxxxx

 


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux