-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmeow.php
More file actions
71 lines (44 loc) · 1.08 KB
/
meow.php
File metadata and controls
71 lines (44 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
$host="localhost";
$dbuser="root";
$pass="";
$dbname="prj";
header("Content-type: text/css; charset: UTF-8");
$brandColor = "#990000";
$linkColor = "#555555";
$conn=mysqli_connect($host,$dbuser,$pass,$dbname);
if(mysqli_connect_errno())
{
die("not connected to server" . mysqli_connect_error());
}
// $Customer_email = $_POST["email"];
// $password = $_POST["password"];
// $address1 = $_POST["address1"];
// $address2 = $_POST["address2"];
// $city= $_POST["city"];
// $state=$_POST["state"];
// $zip=$_POST["zip"];
// $sql="INSERT INTO contact(Email,Password,Address1,Address2,City,State,Zip)VALUES('$Customer_email','$password','$address1','$address2','$city','$state','$zip')";
// if(!mysqli_query($conn,$sql))
{
echo "<h1>not inserted</h1>";
}
// else
{
echo"<h1>THANKYOU FOR BEING OUR MEMBER</h1>";
}
// header("refresh:3;url=sign.html");
function saveG()
{
return "green";
}
?>
<html>
<head>
</head>
<body>
<form method="post">
<input type="submit" name="sub" value="HURRRRRRRRRRRR"
style="background-color: <?php echo saveG(); ?>; "/>
</body>
</html>