<?php
	include "connect.php";
$stmt = $pdo->prepare("INSERT INTO memeber VALUES ( ?, ?, ?)");
$stmt->bindParam(1, $_POST["user_name"]);
$stmt->bindParam(2, $_POST["password"]);
$stmt->bindParam(3, $_POST["gmail"]);
$stmt->execute(); // เริ่มเพิ่มข้อมูล
$pid = $pdo->lastInsertId(); // ขอคีย์หล ักที่เพิ่มสาเร็
?>