Skip to content
Home » [Update] หลักการใช้คอมม่า (Comma) ในภาษาอังกฤษ | ตัวเล็ก ภาษาอังกฤษ – NATAVIGUIDES

[Update] หลักการใช้คอมม่า (Comma) ในภาษาอังกฤษ | ตัวเล็ก ภาษาอังกฤษ – NATAVIGUIDES

ตัวเล็ก ภาษาอังกฤษ: คุณกำลังดูกระทู้

คอมม่า (,) เป็นเครื่องหมายวรรคตอนที่ใช้บ่อยในภาษาอังกฤษ แต่ถึงแม้จะถูกใช้บ่อย หลายๆคนก็ยังคงสับสนอยู่ดี ว่าเราควรใช้คอมม่าตอนไหนและต้องใช้อย่างไรบ้าง

สำหรับคนที่สงสัย ในบทความนี้ ชิววี่ก็ได้เรียบเรียงเนื้อหาการใช้คอมม่าในภาษาอังกฤษ มาให้เพื่อนๆได้เรียนรู้กันได้อย่างง่ายๆแล้ว ถ้าเพื่อนๆพร้อมแล้ว เราไปดูกันเลย

Table of Contents

คอมม่าคืออะไร

คอมม่า (comma) เป็นเครื่องหมายวรรคตอนในภาษาอังกฤษ ทำหน้าที่แยกคำ วลี หรือประโยค เพื่อให้ผู้อ่านสามารถอ่านจับใจความได้ง่ายและถูกต้องมากขึ้น

ถ้าเปรียบเทียบคอมม่ากับเครื่องหมายจุด (.) ที่ใช้ปิดท้ายประโยค หรือที่เรียกว่า period เครื่องหมายทั้ง 2 ตัวนี้จะเป็นตัวบอกการเว้นจังหวะในการอ่านและพูดเหมือนกัน แต่เครื่องหมายคอมม่าจะเป็นตัวบอกจังหวะการเว้นที่สั้นกว่า

หลักการใช้คอมม่า

ใครที่มีข้อสงสัยว่าเราต้องใช้คอมม่าในกรณีไหนและต้องใช้ยังไงบ้าง ก็ไปดูหลักการใช้คอมม่าทั้ง 11 ข้อกันเลย

1. ใช้คอมม่าหน้าคำเชื่อมที่เชื่อม independent clause

Independent clause (ประโยคใจความสมบูรณ์) คือประโยคที่มีทั้งประธานและคำกริยา ตัวประโยคจะมีใจความสมบูรณ์ในตัวมันเอง เช่น

I am a student. (ฉันเป็นนักเรียน) – ถือเป็น independent clause เพราะมีทั้งประธานและคำกริยา
Feel good (รู้สึกดี) – ไม่ใช่ independent clause เพราะไม่มีประธาน
Big black cat (แมวสีดำตัวใหญ่) – ไม่ใช่ independent clause เพราะไม่มีคำกริยา

ส่วนคำเชื่อมในที่นี้จะต้องเป็น coordinating conjunction ซึ่งก็คือคำเชื่อมที่ให้น้ำหนักกับ 2 สิ่งที่ถูกเชื่อมเท่าๆกัน โดยอาจใช้เชื่อมคำ วลี หรือประโยคก็ได้ coordinating conjunction มีทั้งหมด 7 ตัวคือ for, and, nor, but, or, yet, so (เมื่อนำอักษรแรกมาต่อกันจะได้เป็น FANBOYS ใช้ช่วยให้ท่องจำได้ง่ายขึ้น)

หากเราเชื่อม independent clause 2 ประโยคด้วย coordinating conjunction เราจะต้องใช้คอมม่าหน้า coordinating conjunction

โครงสร้างการใช้

independent clause + , + coordinating conjunction + independent clause

ตัวอย่างประโยค

He didn’t speak to anyone, and nobody spoke to him.
เขาไม่ได้พูดกับใคร และก็ไม่มีใครพูดกับเขา

I wanted to stay home, but my wife wanted to go shopping.
ฉันอยากอยู่บ้าน แต่ภรรยาของฉันอยากไปช้อปปิ้ง

เราจะไม่ใช้คอมม่า ถ้าข้างหน้าหรือข้างหลัง coordinating conjunction ไม่ใช่ independent clause

She brushed her teeth and washed her face.
เธอแปรงฟันและล้างหน้า
(washed her face ไม่ใช่ independent clause)

I am not a writer but an editor.
ฉันไม่ใช่นักเขียน แต่เป็นบรรณาธิการ
(an editor ไม่ใช่ independent clause)

2. ใช้คอมม่าเมื่อขึ้นต้นประโยคด้วย dependent clause

Dependent clause คือประโยคที่มีใจความไม่สมบูรณ์ เวลาใช้จะต้องใช้ร่วมกับประโยคอื่น ในที่นี้เราจะแบ่งออกเป็น 3 กรณี

1. Participial phrase

เมื่อประโยคขึ้นต้นด้วยวลีจำพวก participial phrase ซึ่งก็คือวลีที่ขึ้นต้นด้วย v. + ing หรือ v. ช่อง 3 เราจะต้องใช้คอมม่าคั่นหลังวลีนั้น

โครงสร้างการใช้

participial phrase + , + ประโยคหลัก

ตัวอย่างประโยค

Being the only son in the family, his family have high hopes for him.
ด้วยการที่เขาเป็นลูกชายคนเดียวในครอบครัว ครอบครัวของเขาจึงตั้งความหวังกับเขาไว้สูง

Bitten by my own dog, I was very disappointed.
การโดนกัดโดยหมาของตัวเองทำให้ฉันรู้สึกผิดหวังมาก

2. Adverbial phrase

แต่ถ้าประโยคขึ้นต้นด้วย adverbial phrase ซึ่งก็คือวลีที่ทำหน้าที่เป็น adverb เราอาจใช้คอมม่าหรือไม่ใช้ก็ได้ (ถ้า adverbial phrase ยาว หรือเราต้องการเน้น adverbial phrase นั้น เราจะนิยมใช้คอมม่า)

ตัวอย่าง adverbial phrase เช่น
At 6 o’clock
After the show
In the middle of Bangkok

โครงสร้างการใช้

adverbial phrase + (,) + ประโยคหลัก

ตัวอย่างประโยค

In 2020 there is a pandemic affecting the world.
ในปี 2020 มีโรคระบาดที่ส่งผลกระทบไปทั่วโลก

When I was six, I lived in Chiang Mai with my mom.
ตอนฉันอายุหกขวบ ฉันอาศัยอยู่ที่เชียงใหม่กับแม่ของฉัน

3. Sentence adverb

ถ้าประโยคขึ้นต้นด้วย sentence adverb ซึ่งก็คือคำจำพวก adverb ที่ทำหน้าที่ขยายทั้งประโยค เราจะใช้คอมม่าคั่นหลัง sentence adverb นั้น

โครงสร้างการใช้

sentence adverb + , + ประโยคหลัก

ตัวอย่างประโยค

Honestly, I am not angry.
ตรงๆเลยนะ ฉันไม่ได้โกรธ

Clearly, this plan isn’t working.
เห็นได้ชัดว่าแผนนี้ใช้ไม่ได้ผล

3. ใช้คอมม่าคั่นวลีหรือคำกลางประโยคที่ทำหน้าที่ให้ข้อมูลเพิ่มเติม

เราจะใช้คอมม่าคั่นวลีหรือคำที่อยู่กลางประโยค ถ้าวลีหรือคำนั้นทำหน้าที่ให้ข้อมูลเพิ่มเติม แต่ไม่ได้จำเป็นสำหรับประโยค (แม้ตัดออกไป ใจความหลักของประโยคก็ยังเหมือนเดิม)

โครงสร้างการใช้

ประโยคส่วนที่ 1 + , + วลี/คำที่ทำหน้าที่ให้ข้อมูลเพิ่มเติม + , + ประโยคส่วนที่ 2

ตัวอย่างประโยค

Tim, unlike Joe, is very polite.
ทิมเป็นคนสุภาพมาก ไม่เหมือนกับโจ

King Crab restaurant, which Anne recommended, is fantastic.
ร้านอาหารคิงแครบที่แอนแนะนำนั้นดีมาก

แต่ถ้าวลีหรือคำนั้นจำเป็นสำหรับประโยค ถ้าตัดออกแล้วใจความเปลี่ยน เราก็จะไม่ใช้คอมม่า

People who exercise regularly tend to be more happy.
คนที่ออกกำลังกายสม่ำเสมอมักจะมีความสุขมากกว่า
(ถ้าตัด who exercise regularly ทิ้ง ความหมายจะเปลี่ยนเป็น “คนจะมีความสุขมากกว่า” ซึ่งมีใจความผิดไปจากเดิม)

The restaurant that Anne recommended is fantastic.
ร้านอาหารที่แอนแนะนำนั้นดีมาก
(ถ้าตัด that Anne recommended ทิ้ง ความหมายจะเปลี่ยนเป็น “ร้านอาหารดีมาก” ซึ่งมีใจความผิดไปจากเดิม คือเราจะไม่รู้ว่าหมายถึงร้านไหน)

วลีที่ขึ้นต้นด้วย that มักจะจำเป็นสำหรับประโยค เรามักจะไม่ใช้คอมม่าครอบส่วนนั้น

4. ใช้คอมม่าแยกรายการคำตั้งแต่ 3 รายการขึ้นไป

ถ้าเรามีรายการคำตั้งแต่ 3 รายการขึ้นไป เราจะต้องคั่นแต่ละรายการด้วยคอมม่า ยกเว้นรายการสุดท้าย เราจะคั่นด้วยคอมม่าหรือไม่ก็ได้

โครงสร้างการใช้

รายการหนึ่ง, รายการสอง(,) and รายการสุดท้าย

ตัวอย่างประโยค

He is tall, dark, and handsome.
หรือ He is tall, dark and handsome.
เขาทั้งสูง เข้ม และหล่อ

She needs salt, pepper, and other seasonings at the grocery store.
หรือ She needs salt, pepper and other seasonings at the grocery store.
เธอต้องการเกลือ พริกไทย และเครื่องปรุงอย่างอื่นที่ร้านขายของ

5. ใช้คอมม่าคั่นระหว่าง coordinate adjectives

Coordinate adjectives คือคำคุณศัพท์ที่ขยายคำนามคำเดียวกันและมีความสำคัญเท่าๆกัน สามารถสลับที่กันได้ ตัวอย่างเช่น

เราสามารถใช้ได้ทั้ง long, narrow path
และ narrow, long path
คำว่า long และ narrow ในที่นี้จะถือเป็น coordinate adjectives

เราสามารถใช้ big black bear
แต่ไม่สามารถใช้ black big bear
คำว่า big และ black ไม่ถือเป็น coordinate adjectives (การใช้ adjective ขนาดจะต้องมาก่อนสี)

โครงสร้างการใช้

coordinate adjective 1 + , + coordinate adjective 2 + คำนาม

ตัวอย่างประโยค

The happy, lively cat is playing with the ball.
แมวที่มีความสุขสดใสกำลังเล่นกับลูกบอล

My roommate is a cheerful, kind girl.
รูมเมทของฉันเป็นเด็กผู้หญิงที่ร่าเริงและใจดี

ทั้งนี้ เราสามารถใช้ and เชื่อมระหว่าง coordinate adjectives แทนคอมม่าก็ได้เช่นกัน อย่างเช่น My roommate is a cheerful and kind girl.

6. ใช้คอมม่าคั่นระหว่างคำพูดกับวลีที่กำกับ

ในภาษาอังกฤษ เวลาเราเขียนประโยคที่เป็นคำพูด เราจะใช้เครื่องหมาย “-” ครอบประโยคคำพูดนั้น อย่างเช่น Anne said, “I feel sick.” ซึ่งแปลว่า แอนพูดว่า “ฉันรู้สึกป่วย”

สังเกตว่า เราจะใช้คอมม่าคั่นระหว่างวลีที่เข้ามากำกับ ซึ่งก็คือ Anne said และประโยคที่เป็นคำพูด ซึ่งก็คือ “I feel sick.”

ทั้งนี้ วลีที่กำกับนั้นอาจจะอยู่หน้า อยู่กึ่งกลาง หรืออยู่หลังประโยคที่เป็นคำพูดก็ได้

โครงสร้างการใช้

  • วลีกำกับ, “ประโยคคำพูด”
  • “ประโยคคำพูด,” วลีกำกับ, “ประโยคคำพูด”
  • “ประโยคคำพูด,” วลีกำกับ

ตัวอย่างประโยค

He answered, “She is not here.”
เขาตอบ “เธอไม่ได้อยู่ที่นี่”

“I think,” she said, “Joe can help.”
“ฉันคิดว่า” เธอพูด “โจสามารถช่วยได้”

“It is raining,” Tim said.
“ฝนกำลังตก” ทิมพูด

ในกรณีที่วลีกำกับอยู่ข้างหลังประโยคคำพูด ถ้าประโยคคำพูดลงท้ายด้วยเครื่องหมายตกใจ (!) หรือเครื่องหมายคำถาม (?) เราจะไม่ต้องใช้คอมม่า

“Stop playing video game!” mom yelled.
“หยุดเล่นเกมได้แล้ว” แม่ตวาด

“Are you alright?” Ben asked.
“คุณโอเคมั้ย” เบ็นถาม

บางคนอาจสงสัยว่า เราต้องใส่คอมม่าไว้ในหรือนอกเครื่องหมาย “-” ทำไมบางทีเห็นแต่ละที่ใช้ไม่เหมือนกัน

คำตอบก็คือถ้าเป็น American English จะนิยมเอาไว้ข้างใน เช่น “It is raining,” Tim said. แต่ถ้าเป็น British English จะนิยมเอาไว้ข้างนอก เช่น “It is raining”, Tim said.

7. ใช้คอมม่าในการแยกวันที่และสถานที่

ใช้คอมม่าคั่นระหว่างวันและปีเมื่อเราเขียนวันที่ในรูปแบบ เดือน-วันที่-ปี แต่ถ้าเราเขียนในรูปแบบ วันที่-เดือน-ปี เราจะไม่ต้องใช้คอมม่า

โครงสร้างการใช้

เดือน วันที่, ปี

ตัวอย่างประโยค

She was born on December 10, 1995.
เธอเกิดเมื่อวันที่ 10 ธันวาคม 1995

She was born on 10 December 1995.
เธอเกิดเมื่อวันที่ 10 ธันวาคม 1995

และใช้คอมม่าคั่นระหว่างคำบอกสถานที่ที่ต่างกัน เช่น เมือง จังหวัด รัฐ ประเทศ

โครงสร้างการใช้

  • ชื่อตำบล, ชื่อเขต, ชื่อจังหวัด, ชื่อประเทศ
  • ชื่อเมือง, ชื่อรัฐ, ชื่อประเทศ

ตัวอย่างประโยค

I live in Bangkok, Thailand.
ฉันอาศัยอยู่ในกรุงเทพฯ ประเทศไทย

He came from Chicago, Illinois.
เขามาจากเมืองชิคาโก้ รัฐอิลลินอยส์

8. ใช้คอมม่าหน้า question tag

ใช้คอมม่าคั่นระหว่างประโยคหลักกับ question tag

โครงสร้างการใช้

ประโยคหลัก + , + question tag

ตัวอย่างประโยค

These flowers are beautiful, aren’t they?
ดอกไม้เหล่านี้สวยมาก ว่ามั้ย

You didn’t forget the key, did you?
คุณไม่ได้ลืมกุญแจใช่มั้ย

9. ใช้คอมม่าเมื่อเรียกบุคคลโดยตรง

ใช้คอมม่าคั่นระหว่างคำเรียกบุคคลอื่นกับส่วนอื่นของประโยค เมื่อเราเรียกบุคคลนั้นโดยตรง

โครงสร้างการใช้

  • ประโยคหลัก + , + คำเรียกบุคคล
  • คำเรียกบุคคล + , + ประโยคหลัก

ตัวอย่างประโยค

Dad, where are you?
พ่ออยู่ไหน

See you later, John.
ไว้เจอกันใหม่นะจอห์น

10. ใช้คอมม่าหลังคำขึ้นต้นประโยค

ใช้คอมม่าคั่นระหว่างคำขึ้นต้นประโยคกับประโยคหลัก อย่างเช่น คำทักทาย yes/no

โครงสร้างการใช้

  • คำทักทาย + , + ประโยคหลัก
  • yes/no + , + ประโยคหลัก

ตัวอย่างประโยค

Hello, how is it going?
สวัสดี เป็นยังไงบ้าง

Yes, I live by myself.
ใช่ ฉันอยู่คนเดียว

11. ใช้คอมม่าเพื่อป้องกันการสับสน

เราจะใช้คอมม่าในประโยคที่อาจก่อให้เกิดความสับสนหรือความเข้าใจผิดแก่ผู้อ่าน เพื่อให้ผู้อ่านสามารถเข้าใจความหมายได้ถูกต้องมากขึ้น

ตัวอย่างประโยค

I waved at my friend who entered the canteen, and smiled.
ฉันโบกมือให้เพื่อนที่เข้ามาในโรงอาหาร และยิ้มให้เค้า
(คอมม่าทำให้เรารู้ว่าฉันเป็นคนยิ้ม ไม่ใช่เพื่อนยิ้ม)

เป็นยังไงบ้างครับกับหลักการใช้เครื่องหมายคอมม่า (comma) ในภาษาอังกฤษ ทีนี้เพื่อนๆก็คงจะเข้าใจและสามารถนำไปใช้ได้ถูกต้องมากขึ้นแล้วนะครับ

อย่าลืมนะครับ ภาษาอังกฤษยิ่งเรียนรู้ ยิ่งฝึก ก็ยิ่งเก่ง สำหรับบทความนี้ ชิววี่ต้องขอตัวลาไปก่อน See you next time

[Update] แนวทางตรวจข้อมูลเฉพาะภาษาไทย ภาษาอังกฤษด้วย Regular Expressi คอร์สเรียน เรียนฟรี ออนไลน์ บทความ | ตัวเล็ก ภาษาอังกฤษ – NATAVIGUIDES

เนื้อหานี้ จะเป็นแนวทางทบทวนการรับค่าข้อมูลด้วยเงื่อนไขที่ต้องการ โดยจะจำลองการตรวจสอบ

ข้อมูลทั้งการใช้งานการตรวจสอบผ่าน Form validation ของ HTML 5 และ JavaScript และผ่าน PHP

โดยจะยกตัวอย่างไล่ตามลำดับ แต่สิ่งหลัก คือเราจะทำการตรวจสอบข้อมูลว่า เป็นภาษาไทย

หรือ ภาษาอังกฤษ และการประยุกต์ใช้งาน

สำหรับรูปแบบการตรวจสอบข้อมูล เราจะใช้รูปแบบการตรวจสอบผ่านการใช้งาน Regular Expression

ซึ่งสามารถดูแนวทางได้ที่บทความ ตามลิ้งค์ด้านล่าง

    ในที่นี้จะขอใช้งาน bootstrap 4 ประกอบการจัดรูปแบบและการอธิบาย เราจะสร้างฟอร์มอย่างง่าย ที่มี input

text สองอัน ให้ผู้ใช้ กรอกข้อมูลที่เป็นชื่อ-นามสกุล ภาษาไทย และ ชื่อ-นามสกุลภาษาอังกฤษ และปุ่มส่งข้อมูล

ก่อนไปสู่รายละเอียดของฟอร์ม มาดูรูปแบบ regular expression ที่จะใช้งานกันก่อน 

รูปแบบการตรวจสอบข้อมูลภาษาอังกฤษเท่านั้น

   [a-zA-Z] หมายถึง ต้องเป็นตัวอักษรภาษาอังกฤษ จะเป็นตัวพิมพ์เล็ก หรือตัวพิมพ์ใหญ่ก็ได้

   + หมายถึง ต้องมีอย่างน้อย 1 ตัวอักษร นั่นก็คือต้องกรอกข้อมูล

   ^ หมายถึง ขึ้นต้นด้วย ค่าที่กำหนด

    $ หมายถึง ลงท้ายด้วย ค่าที่กำหนด

คำอธิบายรวม หมายถึง ขึ้นต้นหรือลงท้ายด้วยตัวอักษรภาษาอังกฤษ ตัวพิมพ์เล็กหรือตัวพิมพ์ใหญ่ก็ได้

โดยต้องกรอกข้อมูลอย่างน้อย 1 ตัวอักษรขึ้นไป

อย่างไรก็ตาม รูปแบบข้างต้นยังไม่ถูกต้องเสียทีเดียว สำหรับการตรวจสอบข้อมูลชื่อภาษาอังกฤษ สิ่งที่เราต้องเพิ่ม

คือ ต้องมีช่องว่าง ซึ่งในที่นี้เราจะใช้ \s ในการตรวจสอบช่องว่าง จะได้รูปแบบสำหรับเงื่อนไขใหม่เป็นดังนี้

    \s หมายถึง ช่องว่างทุกตัว

รูปแบบการตรวจสอบข้อมูลภาษาไทยเท่านั้น

    สำหรับรูปแบบการตรวจสอบข้อมูลภาษาไทย จะมี 2 รูปแบบ แบบแรก คือเรากำหนดตัวอักษร ภาษาไทยทุกตัว

ที่เราต้องการตรวจสอบ เข้าไปใน [] ดังนี้

    จะเห็นว่ารูปแบบนี้ ถึงแม้จะใช้งานได้ แต่ยังเป็นวิธีที่ยังไม่ดีพอ เราสามารถใช้วิธีกำหนดแบบช่วงตัวอักษรเเช่น

เดียวกับภาษาอังกฤษ เช่น a-z ซึ่งภาษาไทย เราจะใช้ช่วงของตัวอักษรภาษาไทยทั้งหมดผ่าน unicode สามารถดู

ได้ที่ลิ้งค์ด้านล่าง

    จากรุปภาพด้านบน เราสามารถกำหนดช่วงของ ตัวอักษรภาษาไทย จากตัวแรกคือ ก และตัวสุดท้าย ๛

เราจะได้รูปแบบที่สองเป็นดังนี้

    รูปแบบข้างต้น ยังไม่ใช้รูปแบบที่ถูกต้อง เนื่องจากว่า ชื่อ นามสกุล จะไม่มีตัวเลขที่เป็นตัวเลขไทย รวมทั้ง

ระหว่างชื่อ กับนามสกุลจะต้องมีช่องว่าง เราจึงเพิ่มการตรวจสอบใหม่ โดยให้ตัวสุดท้ายเป็น ๏ และตรวจสอบช่องว่าง

ด้วย จะได้รูปแบบใหม่เป็นดังนี้

ตอนนี้เราได้รูปแบบสำหรับตรวจสอบชื่อ นามสกุลทั้งภาษาไทย และภาษาอังกฤษ แล้ว คือ

ต่อไปเป็นขั้นตอนของการประยุกต์ใช้งาน 

 

สามารถดูตัวอย่างได้ที่ DEMO 1

รูปแบบแรกเราใช้การตรวจสอบแบบกำหนดเอง จะเห็นได้จากเรากำหนด novalidate ให้กับ <form> 

เพื่อไม่ให้มีการแจ้งเตือนการตรวจสอบฟอร์มโดย browser แต่ยังรองรับการตรวจสอบและคืนค่าการตรวจสอบ

ฟอร์มจาก form validation ของ html5 ผ่านการกำหนด required และ pattern ให้กับฟิลด์ที่ต้องการ

สามารถดูตัวอย่างได้ที่ DEMO 2

วิธีที่สองนี้ จะคล้ายๆ กับวิธีแรก คือใช้คุณสมบัติการตรวจสอบ form validation จาก html แต่วิธีนี้ เราใช้

การแจ้งเตือนที่ทำผ่าน browser จะไม่มีการกำหนด novalidate ให้กับ <form> เหมือนวิธีแรก ไม่มีการใช้งาน

javascript เพื่อตรวจสอบกรณี sumit ฟอร์ม 

    เราสามารถกำหนดข้อความแจ้งเพิ่มเติม ผ่านการกำหนดค่า title ดังตัวอย่างต่อไปนี้
 

สามารถดูตัวอย่างได้ที่ DEMO 3

วิธีการตรวจสอบด้วย javascript ในที่นี้เราประยุกต์ใช้ร่วมกับ jquery จะเห็นว่าในฟอร์ม เราไม่มีการกำหนด

การตรวจสอบใดๆ จาก form validation ไม่มีการกำหนด pattern ไม่มีการกำหนด required ให้กับ input

text ทั้งสอง แต่ใช้วิธีการตรวจสอบผ่าน javascript เมื่อเกิดการ submit ข้อมูล โดยเราได้ทำการตรวจสอบ

ค่าของข้อมูลในฟอร์ม ผ่านการอ้างอิง เราไม่ได้ไปยุ่ง อะไรกับส่วนของฟอร์ม รูปแบบวิธีนี้ เราสามารถกำหนด

เงื่อนไขการตรวจสอบใดๆ ก็ได้ตามต้องการ โดยถ้าไม่ผ่านเงื่อนไข ก็ให้ทำการ return false กลับมา

    ในที่นี้จะขอเพิ่มโค้ดตรวจสอบไว้ในไฟล์เดียวกัน 

ไฟล์ demo.php

<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> 
    <title>Document</title> 
    <link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/css/bootstrap.min.css" >
</head>
<body>
 
 <div class="container">
 <br>
 <?php
 if(isset($_POST['btn_submit'])){
	 $valid_form = false;
	 $status_response_error = "กรุณากรอกข้อมูลให้ถูกต้อง";
	 $data_input_name = (isset($_POST['input_name']) && $_POST['input_name']!="")?trim($_POST['input_name']):NULL;
	 $data_input_name_en = (isset($_POST['input_name_en']) && $_POST['input_name_en']!="")?trim($_POST['input_name_en']):NULL;
	 $pattern_thai = "/^[ก-๏\s]+$/u";
	 $pattern_eng = "/^[a-zA-Z\s]+$/";
	 
	 if(!is_null($data_input_name) && preg_match($pattern_thai,$data_input_name)){
		 if(!is_null($data_input_name_en) && preg_match($pattern_eng,$data_input_name_en)){
			 $valid_form = true;
		 }else{
		 	$status_response_error = "กรุณากรอกชื่อ นามสกุล ภาษาอังกฤษ";			 
		 }
	 }else{
		 $status_response_error = "กรุณากรอกชื่อ นามสกุล ภาษาไทย";
	 }
	 if($valid_form){
		echo '
			<div class="alert alert-success" role="alert">
			  ทำการบันทึกข้อมูลเรียบร้อย!
			</div>		 		
		';
	 }else{
		echo '
			<div class="alert alert-danger" role="alert">
			  '.$status_response_error.'!
			</div>		 		
		';
	 }
 }
 ?>
<form id="myform1" name="form1" method="post" action="" >
<div class="form-group row">
    <label for="input_name" class="col-sm-3 col-form-label text-right">ชื่อ นามสกุล (TH)</label>
    <div class="col">
      <input type="text" class="form-control" name="input_name" id="input_name" 
      value="" >
    </div>
</div>
<div class="form-group row">
    <label for="input_name_en" class="col-sm-3 col-form-label text-right">ชื่อ นามสกุล (EN)</label>
    <div class="col">
      <input type="text" class="form-control" name="input_name_en" id="input_name_en" 
       value="" > 
    </div>
</div>
<div class="form-group row">
    <div class="col-sm-3 offset-sm-3 text-right pt-3">
		 <button type="submit" name="btn_submit" id="btn_submit" value="1" class="btn btn-primary btn-block">ส่งข้อมูล</button>
	</div>
</div> 
</form> 
 
 </div>
 
<script src="https://unpkg.com/[email protected]/dist/jquery.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/js/bootstrap.min.js"></script>
<script type="text/javascript">
$(function(){


});
</script>
</body>
</html>


ฝึกเขียน ฝึกอ่าน ABC จากแผ่นเขียน abc นับเลข1-10 | Learn ABC from ABC writing pad, counting


วันนี้เรามาฝึกเขียนพยัญชนะอักษรภาษาอังกฤษ 24 ตัว แล้วมาฝึกอ่านตามไปพร้อมกันค่ะ
เรียน ABC จากแผ่นเขียน abc นับเลข110 | เรียนรู้คำศัพท์ภาษษอังกฤษ AZ
Learn ABC from abc writing pad, counting numbers 110 | Learn English vocabulary AZ
เพื่อเสริมทักษะความรู้และประสบการณ์ใหม่ๆ
วิชาการทั้ง คณิตศาสตร์ ภาษาไทย วิทยาศาสตร์ และอื่นๆๆอีกมากมาย
อย่าลืมกดติดตาม Subscribe WAWA kids art กันนะค่ะ

เกม ทายคำศัพท์ยานพาหนะ หมวดภาษาอังกฤษhttps://youtu.be/dc4ApC1qn_w
เกม หาสุภาษิตไทยจากรูปภาพ เรียนรู้ความหมายของสุภาพษิตไทย
https://youtu.be/JhqtK1qae_s
วาดการ์ตูนไก่ วาดการ์ตูนไข่ | เรียนรู้คำศัพท์ภาษาอังกฤษ | l สนุกกับการเรียนรู้สีผ่านงานศิลปะ https://youtu.be/xrVlvyeSYhA
วาดรูปควาย | คำศัพท์ภาษาอังกฤษ | ความรู้เรื่องของควาย สนุกกับการเรียนรู้สีผ่านงานศิลปะhttps://youtu.be/p03bx0Bpwx8
เกม ทายปัญหาวิทยาศาสตร์ ระดับประถม 10 ข้อ https://youtu.be/9JO64gi3FrQ
วาดรูปขวด วาดรูปคน | คำศัพท์ภาษาอังกฤษ | สนุกกับการเรียนรู้สีผ่านงานศิลปะด้วยดิน https://youtu.be/D5c3JAH9eI
วาดรูป จาน | คำศัพท์ภาษาอังกฤษ | ความรู้เรื่องจาน สนุกกับการเรียนรู้สีผ่านงานศิลปะ https://youtu.be/qXPBd14RbTs
วาดรูปช้าง | คำศัพท์ภาษาอังกฤษ | ความรู้เรื่องของช้าง สนุกกับการเรียนรู้สีผ่านงานปะ https://youtu.be/xySwrBmVYWg
เกม ความรู้รอบตัวเกี่ยวกับวิทยาศาสตร์ https://youtu.be/0JHr0a_HFNs
วาดรูป ซ โซ่ กับ ฌ เฌอ | คำศัพท์ภาษาอังกฤษ | สนุกกับการเรียนรู้สีผ่านงานศิลปะ https://youtu.be/QIJUcKDw_BY
เกม ทายคำลักษณะนามของสิ่งของ 10 ข้อ https://youtu.be/PFpwbDvQcM
วาดรูป ฉ ฉิ่ง | คำศัพท์ภาษาอังกฤษ | ความรู้เรื่องฉิ่ง สนุกกับการเรียนรู้สีผ่านงานศิลปะ https://youtu.be/Q4briOTyAMo

นอกจากการดูบทความนี้แล้ว คุณยังสามารถดูข้อมูลที่เป็นประโยชน์อื่นๆ อีกมากมายที่เราให้ไว้ที่นี่: ดูเพิ่มเติม

ฝึกเขียน ฝึกอ่าน ABC จากแผ่นเขียน abc นับเลข1-10 |  Learn ABC from ABC writing pad, counting

Waterford.org ABC Song – Tongue Twisters


Waterford Early Learning helps students learn how to read by teaching them the lowercase letters of the alphabet and their corresponding sounds. Activities such as this one are developed to help young learners stay engaged while simultaneously learning reading and comprehension skills to help them develop school readiness.
To learn more about how Waterford.org is helping children improve their literacy skills, please visit us at www.waterford.org.

Waterford.org ABC Song - Tongue Twisters

วิธีเทียบอักษรภาษาอังกฤษเป็นไทยง่ายๆ | เขียนชื่อภาษาอังกฤษ


เรียนปูพื้นฐานภาษาอังกฤษ แบบง่ายๆ ด้วย Alphabets ซึ่ง alphabet (แอล’ ฟาเบท) หมายถึง อักษรพยัญชนะ, อักขระ, ระบบตัวอักษร นั่นเองครับ โดยตัวอักษรในภาษาอังกฤษมี 26 ตัว ครับ สระมี 5 และถ้าไปผสมตัวอื่นๆ ที่ได้บอกไว้ใน VDO ก็จะมีเสียงสระเยอะขึ้นนะครับ ก็หวังว่าคงจะเป็นประโยชน์
การเทียบเสียงอักษร ภาษาอังกฤษ ภาษาไทย สระ พยัญชนะ ประสมคำ สะกด ชื่อ นามสกุล
ค. ควาย นะครับอ่านผิดไป
เรียนออนไลน์
เรียนภาษาอังกฤษฟรี
📌 ฝึกพูดภาษาอังกฤษ ถามตอบ ประโยคพื้นฐานใช้บ่อยในชีวิตประจำวัน
👉 https://www.youtube.com/watch?v=IHuKZYgki4\u0026t=5s
📌 ฝึกอ่านแปลภาษาอังกฤษ เข้าใจง่าย เรียนภาษาอังกฤษพื้นฐาน
👉 https://www.youtube.com/watch?v=URCUv47gnc8
📌 ฝึกพูดภาษาอังกฤษ ตั้งปณิธานเรื่องที่จะทำในปีใหม่ New Year’s Resolutions
👉 https://www.youtube.com/watch?v=AWo2r51ZLFA\u0026t=10s
📌 เรียนภาษาอังกฤษฟรี ดูโครงสร้างภาษาอังกฤษ ฝึกพูดพร้อมตัวอย่างประโยค
👉 https://www.youtube.com/watch?v=UgGf1QS7O6s
📌 5 โครงสร้างประโยคพื้นฐานในภาษาอังกฤษ (English sentence structures)
👉 https://www.youtube.com/watch?v=iGS5sPRefdA\u0026t=82s
📌 ประโยคอวยพรปีใหม่ ภาษาอังกฤษ พร้อมคำอ่านและแปลภาษาไทย
👉 https://www.youtube.com/watch?v=BYqot65xu6k
📌วิธีใช้ Used to, Be used to และ Get used to (เคย และ เคยชิน)
👉https://www.youtube.com/watch?v=in1gK2AAi9Q\u0026t=3s
📌 Whenever, Whatever, Whoever, However, Whichever | ใช้ยังไง
👉 https://www.youtube.com/watch?v=AnATbRFCE
📌 How far/How much/How many/How long/ ใช้อย่างไร และแปลว่าอย่างไร ภาษาอังกฤษ
👉 https://www.youtube.com/watch?v=AnATbRFCE
📌 เรียนภาษาอังกฤษ Do, Does, Did, Done | แปลว่าอย่างไร เข้าใจง่ายพร้อมตัวอย่าง
👉 https://www.youtube.com/watch?v=JrNKYd2YFzg\u0026t=2s

วิธีเทียบอักษรภาษาอังกฤษเป็นไทยง่ายๆ | เขียนชื่อภาษาอังกฤษ

How to Write Cursive Lowercase Letters – American Handwriting


Learn how to write cursive lowercase letters step by step. See each letter in detail. Learn tips and common mistakes. See more at http://www.coopos.com/
To donate, please go to https://paypal.me/coopos?locale.x=en_US
Please help me translate this video. You can translate a little or a lot. Every bit helps. To translate, click on the three dots below the video (…). Thank you!
Suggested handwriting workbooks
Printing Workbook https://amzn.to/2KFQJhm
Cursive Workbooks https://amzn.to/2Zd4J5h or https://amzn.to/2Z9W4AJ

Handwriting Playlists
Cursive Handwriting Practice https://www.youtube.com/playlist?list=PLlmG13Mp0ys6txdkOhFFnWR8YlugK6MFA
English Alphabet and Writing Letters American Handwriting https://www.youtube.com/playlist?list=PLlmG13Mp0ys50R2aLVDnE_nVg7mUsV_gy

Pronunciation Playlists
Confusing English Words https://www.youtube.com/playlist?list=PLlmG13Mp0ys6YQWvnqttCs7gOqSLBT
Word Practice https://www.youtube.com/playlist?list=PLlmG13Mp0ys5PGO10S5vIXxObzbYCrPmS
English Vowels https://www.youtube.com/playlist?list=PLlmG13Mp0ys6cgR_EzVAbZwZ1FpFCEdW
English Consonants https://www.youtube.com/playlist?list=PLlmG13Mp0ys5PxjyjOo8tKMOuijEe7IS

Recommended Dictionaries are below
Online Dictionaries
The Free Dictionary
http://www.thefreedictionary.com/
Cambridge Dictionary
https://dictionary.cambridge.org/us/
Collins Dictionary
https://www.collinsdictionary.com/dictionary/english
MerriamWebster Learner’s Dictionary
http://learnersdictionary.com/

Paper Dictionaries – Beginning to HighIntermediate
MerriamWebster’s Essential Learner’s English Dictionary
USA https://amzn.to/2EIbtjc
Longman Dictionary of American English
USA https://amzn.to/2UiVmOz

Paper Dictionaries – HighIntermediate to Advanced
MerriamWebster’s Advanced Learner’s English Dictionary
USA https://amzn.to/2SGabt0
Longman Dictionary of Contemporary English
USA https://amzn.to/2EvRcvX

As an Amazon Associate I earn from qualifying purchases.
TRANSCRIPT:
Hi. I’m Denise. Thank you for watching my video. Today I’m going to talk about writing lowercase cursive letters. A couple of things to keep in mind when writing the cursive letters is that first of all, we normally slant our letters. So, they do not go straight up and down. They are written in this way. The second thing is that most of the letters have a little taillike piece on the end. That is so that we can connect each letter to the next letter. So you’ll see that as I am writing the letters. Okay? Let’s get started.
The lowercase A starts just below the middle line and then it goes up and left and around and back up and straight down. This little piece is the part that will connect to the next letter. So I started below the middle, up and around, straight up and back down.
The B starts at the bottom, goes up to the top, makes a loop and comes back down, curves to the middle and then it goes like that. This little piece is the part that will connect to the next letter.
The C starts just below the middle, goes up and to the left and around and just goes on. Again, this is just the connecting piece.
The D starts just below the middle, goes up and around to the left, and all the way up. Back down and there’s the tail. So again it started below the middle, up and around, all the way up and back down.
The E starts at the bottom, goes up to the middle and back down. Okay. That’s the E.
F also starts at the bottom, goes all the way up to the top, makes a loop, comes below the line and reaches back up and then has a straight line which will be the connecting piece. So again, we start at the bottom, go up, make a loop, come back down, loop to the bottom and curve up.
The G starts just below the middle, goes up and around, straight up, below the line and up. So again, I started below the middle. I went around and back to my starting point, back down below the line to make my loop and like this. Make sure that you’re going the right way with your loop. I do often see students that go the other way with their loop and then it looks like a Q, so please don’t change the direction of the loop. Okay, notice I went, I’ll make that again. You go around, go like this. Now I come straight down, I go to the left to make my loop and then up there. Don’t go to the right. It’s going to look like a different letter. Okay? So straight down, go to the left and make the loop.
The H starts at the bottom, goes up to the top, makes a loop and comes down. Go straight up the middle and loop. And we go straight up curving to make a rounded bump. That’s the H.
I. Go straight up and back down the line. Then it splits here because it needs to go to the next letter. So straight up and back down. We lift our pen and make the dot.
The J starts in the same way. Starts at the bottom and goes up to …

How to Write Cursive Lowercase Letters - American Handwriting

Masha and the Bear 🍓🍫 LA DOLCE VITA 🍫🍓 Best 30 min ⏰ Сartoon collection 🎬 Маша плюс Каша


Masha and The Bear. All episodes playlist: http://goo.gl/sqBrYd
Masha and The Bear. Compilations: http://bit.ly/2FLL8jY
Episodes in this collection:
00:04 La Dolce Vita 🍓 (Episode 33) https://youtu.be/EH9QL_SiNkk
6:18 Dance Fever 💃 (Episode 46) https://youtu.be/E9FXMad83nE
12:32 The very fairy tale 👸 (Episode 54) https://youtu.be/dNpWSBku2oo
19:59 Driving Lessons 🚕 (Episode 55) https://youtu.be/3kmc88JWdNo
27:07 RockABye, Baby!🐑 (Episode 62) https://youtu.be/ljcoHIHIWM
Enjoy more special collections:
🌳🎈 FOREST KNOWS HOW TO PARTY! 🎈🌳 https://youtu.be/t7wcKg6Uri0
💐👱‍♀️ WHAT GIRLS WANT 👱‍♀️💐 https://youtu.be/wKg21lde0w
💥🎬 NEW EPISODE! 🎬💥 https://youtu.be/MpXPEkvulEY
❤️🤒 DON’T GET SICK! 🤒❤️ https://youtu.be/tPeNBL_4PQA
❤️🍫 FROM ME TO YOU 🍫❤️ https://youtu.be/2d2DlCIllXc
🚦🙅 SAFETY FIRST! 🙅🚦 https://youtu.be/E42wXSGZmzw
🐻🤪 BACKWARDS DAY! 🤪🐻 https://youtu.be/yjkXE_vPA8o
☀️❄️ SUMMER IN WINTER ❄️☀️ https://youtu.be/OaGQB0QPwsA
👩‍🔬🔮 THE MARVELOUS INVENTOR 🔮👩‍🔬 https://youtu.be/ozcLlAXDXo
💥🎬 TOP10 Episodes 2019 🎬💥 https://youtu.be/MmnVD8rTAjk
🎄🎅 SAVING CHRISTMAS 🎅🎄 https://youtu.be/ErtXIsLNORI
❄️☃️ A WINTER’S TALE ☃️❄️ https://youtu.be/hkxTll_tm3U
💥🎵 LET THERE BE MUSIC! 🎵💥 https://youtu.be/KKHo8SSXMA
🎃🕷️ HAPPY HALLOWEEN! 🕷️🎃 https://youtu.be/EwE6qMlX_oo
💖🎂 CHOCOLATE CUPCAKE DAY 🎂💖 https://youtu.be/R5bjPwx6aGQ
💖🤗 ATTITUDE OF GRATITUDE 🤗💖 https://youtu.be/chYuGNAled8
✨⚡ MASHA THE WIZARD ⚡✨ https://youtu.be/vhBZx_iAhKQ
📚🔔 BACK TO SCHOOL WITH MASHA 🔔📚 https://youtu.be/8MmL6ByXyUA
🌲🤣 THE FOREST MENACE 🌲🤣 https://youtu.be/9TAuRx4wiXY
Follow Masha on Instagram: https://instagram.com/mashaandthebear/
Watch more on Netflix.
Official website: http://mashabear.com
Subscribe! 🎬 http://bit.ly/2S0ETAi
Masha and the Bear are heroes of Russian folklore, known to all Russian children. Just that in the series they are different and live in the modern world, which gave the creators from Animaccord Animation Studio the ability to bring new possibilities to their interactions. Series tell us about a unique relationship between two main characters. Masha is an exceedingly active little girl who can’t sit still on one place and has to make everything a business of her own. The Bear is a big and hearty guy who loves comfort and quietness. After their first met the Bear is always in anticipation for another fun and wild adventure that Masha will surely pull him in.
Masha and The Bear.
Masha and The Bear. All episodes playlist: http://goo.gl/sqBrYd
ماشا والدب. جميع الحلقات : http://bit.ly/MashaArabic
Masha e Orso. Tutti gli Episodi: http://bit.ly/MashaOrso
Masha y el Oso. Todas las series: http://bit.ly/MashaOso
Masha et Michka. Tous les épisodes: http://bit.ly/MashaMichka
Masha e o Urso. Lista de reprodução: http://bit.ly/mashaurso
Mascha und der Bär. Alle Folgen: http://bit.ly/maschaundderbaer
瑪莎與熊. 全部影集: http://bit.ly/MashaTaiwan
Маша и Медведь. Все серии подряд: http://bit.ly/MashaMedved
Маша та Ведмідь Всі серії: http://bit.ly/MashaBearUA
Maşa İle Koca Ayı. Tüm bölümler: http://bit.ly/MaşaTR
מאשה והדוב. כל הפרקים: http://bit.ly/MashaHE
माशा एंड द बेयर. सभी एपसोड: http://bit.ly/MashaHI .
Masza i Niedźwiedź. Wszystkie odcinki: https://bit.ly/2EHR90p
마샤와 곰 모든 에피소드: http://bit.ly/MashaBearKOR
玛莎和熊 . 全部视频 http://bit.ly/MashaandtheBearChina

MashaandtheBear cartoonforkids cartoons

Masha and the Bear 🍓🍫 LA DOLCE VITA 🍫🍓 Best 30 min ⏰ Сartoon collection 🎬 Маша плюс Каша

นอกจากการดูบทความนี้แล้ว คุณยังสามารถดูข้อมูลที่เป็นประโยชน์อื่นๆ อีกมากมายที่เราให้ไว้ที่นี่: ดูวิธีอื่นๆLEARN FOREIGN LANGUAGE

ขอบคุณมากสำหรับการดูหัวข้อโพสต์ ตัวเล็ก ภาษาอังกฤษ

Leave a Reply

Your email address will not be published. Required fields are marked *