Posted By

nicolaspar on 07/12/06


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

meth
willcodeforfood


Php sacar href


 / Published in: PHP
 

  1. function sacarHref($str){
  2. if(trim($str)!=''){
  3. $str = eregi_replace("<a([^>]+)>|</a>", "", $str);
  4. return $str;
  5. }else{
  6. return $str;
  7. }
  8. }

Report this snippet  

You need to login to post a comment.