afalfasrqwrw6r58674sf
Addict
- Joined
- Aug 14, 2020
- Posts
- 173
- Reaction
- 23
- Points
- 101
<?php
$dbServername = "localhost";
$dbUsername = "root";
$dbPassword = "";
$dbName = "trial2";
$conn = mysql_connect($dbServername, $dbUsername, $dbPassword, $dbName);
$inp1=$_POST['inp1'];
$inp2=$_POST['inp2'];
$inp2=$_POST['inp3'];
$sql ="INSERT INTO table1(username, passw, email ) VALUES ('$inp1', '$inp2', '$inp3' );";
mysql_query($conn, $sql );
header("Location: ../home.html?signup=success");
?>
Pahelp naman kung sino marunong anong mali bat di mag contuniue at ma add sa database TIA
$dbServername = "localhost";
$dbUsername = "root";
$dbPassword = "";
$dbName = "trial2";
$conn = mysql_connect($dbServername, $dbUsername, $dbPassword, $dbName);
$inp1=$_POST['inp1'];
$inp2=$_POST['inp2'];
$inp2=$_POST['inp3'];
$sql ="INSERT INTO table1(username, passw, email ) VALUES ('$inp1', '$inp2', '$inp3' );";
mysql_query($conn, $sql );
header("Location: ../home.html?signup=success");
?>
Pahelp naman kung sino marunong anong mali bat di mag contuniue at ma add sa database TIA