<?php
$keys =array(
array(' ','/js_a/js.html'),
array('seo','/seo/seo.html'),
array('php','/phper/php.html'),
array('jsp','/jsp/jsp.html'),
array('asp','/asp/asp.html'),
array('ps','/fw/photo.html'),
array('photoshop','/fw/photo.html'),
array('javascript','/js_a/js.html'),
array('.net','/net/net.html'),
array(' ','/fw/photo.html'),
array(' ','/mon/mon.html'),
array('css','/cssdiv/css.html'),
array(' ','/fw/photo.html'),
array(' ','/person/'),
array(' ','/wy/yw.html'),
array(' ','/seo/seo.html'),
array(' ','/seo/seo.html'),
array(' ','/flash_a/flash.html'),
array(' ','/database/database.html'),
array(' ','/mon/mon.html'),
array(' ','/mon/mon.html')
);
$str =" 2010 5 30 , seo ,seo , php jsp ,css+div, , , , , ,Photoshop,Flash,HTML,CSS,Dreamweaver,Fireworks,ASP,PHP,JSP,ASP.NET, , , , , , ";
echo $str,"<br>";
foreach($keys as $nkeys){
//print_r($nkeys);echo"<br>";
//foreach( $nkeys as $join) {
//echo($join),"<br>";
if(strpos($str,$nkeys[0]) ){
$str =str_replace($nkeys[0],"<a href=https://www.jb51.net".$nkeys[1]." target=_blank >".$nkeys[0]."</a>",$str);
}
//}
}
echo $str;
?>