Konu
2 veya 3 veri çekme
20-07-2007, 03:15:28
#7
pentacle
explode ile ugrasmak yerine basit bir regexp kullanmak daha mantıklı aslında. bu kod is gorecektir:
preg_match( '/<title>(.+)<\/title>/i', $file, $match ); echo $match[1];