$('.birth_date').datetimepicker({
pickTime:false,
pick12HourFormat: false,
language: 'th',
icons: {
time: "fa fa-clock-o",
date: "fa fa-calendar",
up: "fa fa-arrow-up",
down: "fa fa-arrow-down"
},
format:"LL"
}).on("change.dp",function(e){
//event here
});
แสดงบทความที่มีป้ายกำกับ Programming แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ Programming แสดงบทความทั้งหมด
วันพฤหัสบดีที่ 17 กันยายน พ.ศ. 2558
JQuery Datetimepicker event
วันเสาร์ที่ 31 สิงหาคม พ.ศ. 2556
นับ string(utf-8) ใน MySQL
- http://www.electrictoolbox.com/find-length-longest-string-mysql/
- SELECT subdistrictname, LENGTH(subdistrictname) FROM subdistrict;
ได้ผลคือ
แขวงโคกแฝด (length = 30)
มันไม่ตรงกับที่เราต้องการนี่นา แขวงโคกแฝด นับด้วยตาแล้วได้แค่ 10 อักษรเองนิ
ก็เลยไปค้น google ได้เจอเกี่ยวกับการนับข้อความ UTF-8
- http://www.thaicreate.com/php/forum/022048.html
ตามคำตอบของคุณ เต๋า ในกระทู้ thaicreate เปลี่ยนจากโค้ดด้านบนเป็น...
- SELECT (LENGTH(CONVERT(subdistrictname USING 'ucs2'))/2) FROM subdistrict;
ผลลัพธ์ที่ได้
ข้อมูลเพิ่มเติมเกี่ยวกับ ucs2
- Unicode UCS-2 code chart
- http://dev.mysql.com/doc/refman/4.1/en/charset-unicode-ucs2.html
- SELECT subdistrictname, LENGTH(subdistrictname) FROM subdistrict;
ได้ผลคือ
แขวงโคกแฝด (length = 30)
มันไม่ตรงกับที่เราต้องการนี่นา แขวงโคกแฝด นับด้วยตาแล้วได้แค่ 10 อักษรเองนิ
ก็เลยไปค้น google ได้เจอเกี่ยวกับการนับข้อความ UTF-8
- http://www.thaicreate.com/php/forum/022048.html
ตามคำตอบของคุณ เต๋า ในกระทู้ thaicreate เปลี่ยนจากโค้ดด้านบนเป็น...
- SELECT (LENGTH(CONVERT(subdistrictname USING 'ucs2'))/2) FROM subdistrict;
ผลลัพธ์ที่ได้
ข้อมูลเพิ่มเติมเกี่ยวกับ ucs2
- Unicode UCS-2 code chart
- http://dev.mysql.com/doc/refman/4.1/en/charset-unicode-ucs2.html
วันอาทิตย์ที่ 26 พฤษภาคม พ.ศ. 2556
PHP + MySQL + jQuery.tablePagination0.5 (การแบ่งหน้าข้อมูลโดยใช้ตาราง)
การแบ่งหน้าแบบง่ายโดยอาศัย plugin ที่ชื่อว่า jQuery.tablePagination0.5
ดาวน์โหลด jQuery.tablePagination0.5
จาก source ดังกล่าว จะได้ผลลัพธ์ดังนี้
ดาวน์โหลด jQuery.tablePagination0.5
จาก source ดังกล่าว จะได้ผลลัพธ์ดังนี้
วันศุกร์ที่ 2 พฤศจิกายน พ.ศ. 2555
วันเสาร์ที่ 21 เมษายน พ.ศ. 2555
c# change icon exe file
Project > YourApp Properties. On the Application tab, change the Icon dropdown box
วันอาทิตย์ที่ 18 ธันวาคม พ.ศ. 2554
วันจันทร์ที่ 31 ตุลาคม พ.ศ. 2554
php error header & session แสดงภาษาไทย
ให้ session_start(); อยู่บนสุด
ob_start(); ปิดด้วย ob_end_flush(); ท้าย
เซฟไฟล์ เป็น utf-8 with out BOM (ใช้ Notepad++ ได้)
ob_start(); ปิดด้วย ob_end_flush(); ท้าย
เซฟไฟล์ เป็น utf-8 with out BOM (ใช้ Notepad++ ได้)
วันอาทิตย์ที่ 23 ตุลาคม พ.ศ. 2554
การจัดการ Session (Session Management) โดยใช้ PHP
credit : วรวิสุทธิ์ ภิญโญยาง (worawisut@yahoo.com)
http://www.arip.co.th/articles.php?id=404068
credit : วรวิสุทธิ์ ภิญโญยาง (worawisut@yahoo.com)
http://www.arip.co.th/articles.php?id=404068
สมัครสมาชิก:
บทความ (Atom)
+%E0%B9%83%E0%B8%99+MySQL1.png)
