freelance, web developer, web designer, hosting, domain name
foreach ( $word AS $w ) { $text = str_replace($w, '<a href="search.php?keyword=' . $w . '">' . $w . '</a>', $text); } echo $text; คือถ้า $words เป็น Abcd แล้วในข้อความเป็น abcd มันก้อจะไม่ลิงค์ให้น่ะค่ะ รบกวนพี่ ๆ ผู้รู้ช่วยทีค่ะ (มีตัวอย่างก้อจะดีมากเลยค่ะ ^^)