🔒 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
  • 276
    Views
  • 6
    Participants
Last reply from:
PHC_Jayvee

Trending Topics

Online now

Members online
361
Guests online
3,198
Total visitors
3,559

Forum statistics

Threads
2,307,475
Posts
29,179,231
Members
1,193,472
Latest member
john2526
Back
Top