<?php
include "connect.php";
$stmt = $pdo->prepare("INSERT INTO skfood VALUES (?,?,?)");
$stmt->bindParam(1, $_POST["user_name"]);
$stmt->bindParam(2, $_POST["password"]);
$stmt->bindParam(3, $_POST["gmail"]);
$stmt->excute();
$pid = $pdo->lastInsertId();
?>