PHP HTML แปลงภาษาอังกฤษตัวพิมพ์เล็ก ตัวพิมพ์ใหญ่ text-transform หรือ strtoupper, strtolower, ucfirst, ucwords
#// strtoupper(); พิมพ์ใหญ่ทั้งหมด คือ HELLO WORLD NAELIKE
#// strtolower(); พิมพ์เล็กทั้งหมด คือ hello world naelike
#// ucfirst(); พิมพ์ใหญ่คำแรก คือ Hello world naelike
#// ucwords(); พิมพ์ใหญ่ตัวแรงของทุกคำ คือ Hello World Naelike
#// mb_strtoupper(); พิมพ์ใหญ่ทั้งหมด คือ HELLO WORLD NAELIKE (Unicode)
<?php
// texteng
$texteng = 'Hello Naelike';
// echo
echo strtoupper($texteng).'<br>';
echo strtolower($texteng).'<br>';
echo ucfirst($texteng).'<br>';
echo ucwords($texteng).'<br>';
echo mb_strtoupper($texteng).'<br>';
?>
Naelike เนไลก์
@เว็บไซต์ 👍 Web : https://naelike.com ..!
@ติดตาม 👍 Web : https://naelike.com/addmee ..!
TikTok : https://www.tiktok.com/@naelike6564
Facebook : https://web.facebook.com/NaeLikePage
Instagram : https://www.instagram.com/naelike_ig
Discord คลิก..!