วันอาทิตย์ที่ 11 พฤษภาคม พ.ศ. 2557

20:10
ฟังก์ชัน soundex()
หา soundex key ของสตริงตัวอักษรแทนเสียงอ่าน ด้วยฟังก์ชัน soundex()

 
soundex key คือ ตัวอักษรหรือตัวเลข 4 ตัวแทนเสียงอ่าน

รูปแบบ
soundex(string)

string1 คือ สตริง 

ตัวอย่าง
<?php

$str = "hello";
echo soundex($str);

?>

ผลลัพธ์
H400

0 ความคิดเห็น:

แสดงความคิดเห็น

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.