lawang code

lawang Code


Tanyakan kode disini

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\auth\register.php on line 20

ditanyakan oleh Ahda Muammar 2 tahun yang lalu

// Masukkan user baru di database $sql = "INSERT INTO users (email, password) VALUES (:email, :password)"; $stmt = $conn->prepare($sql);

$stmt->bindParam(':email', $_POST['email']);
$stmt->bindParam(':password', password_hash($_POST['password'], PASSWORD_BCRYPT));

if( $stmt->execute() ):

Anda harus login terlebih dahulu untuk memberikan komentar

Recent Tag

X 6
X 48
X 14
X 10
X 1
X 5
X 4
X 18
X 10

Bantuan

Help

Feedback

Help