🔒 Closed PHP HELP

Status
Not open for further replies.
<?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
 
Status
Not open for further replies.

Similar threads

About this Thread

  • 10
    Replies
  • 268
    Views
  • 6
    Participants
Last reply from:
PHC_Jayvee

Online now

Members online
1,117
Guests online
892
Total visitors
2,009

Forum statistics

Threads
2,277,006
Posts
28,973,700
Members
1,229,683
Latest member
sororities
Back
Top