1 / 9

Introduction to php

Introduction to php. วรวิทย์ พูลสวัสดิ์. Usage environment. Script ภาษา php ต้องทำเช่นเดียวกับกับการใช้งาน html แบบที่มีการรับส่งค่า คือต้องเก็บข้อมูลที่ directory c:appservwww

ishana
Download Presentation

Introduction to php

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introductionto php วรวิทย์ พูลสวัสดิ์

  2. Usage environment • Script ภาษา php ต้องทำเช่นเดียวกับกับการใช้งาน html แบบที่มีการรับส่งค่า คือต้องเก็บข้อมูลที่ directory c:\appserv\www • การทำงานจะเก็บข้อมูลลงระบบจัดการฐานข้อมูล mysql โดยในการทำงานตามตัวอย่าง ต่อไปนี้จะเป็นการบันทึกข้อมูลการขายผลิตภัณฑ์ดอกไม้ประดิษฐ์ของร้านบูรพา ฟลาว์เวอร์ช้อป

  3. Usage environment • ชื่อฐานข้อมูล : flowers • ชื่อผู้ใช้งาน : kaewรหัสผ่าน kr001 • เก็บ Script ภายใต้ folder c:\Appserv\www\flowers

  4. ตัวอย่างข้อมูล และ โครงสร้างตาราง customer

  5. connect.php : การประกาศการเข้าถึงฐานข้อมูล

  6. list_customer.php : แสดงข้อมูลลูกค้า (1)

  7. list_customer.php : แสดงข้อมูลลูกค้า (2)

  8. list_customer.php : แสดงข้อมูลลูกค้า (3)

  9. Question?

More Related