First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
include "db.php";
|
||||
|
||||
echo("\n");
|
||||
$business = readline("Business Name: ");
|
||||
$reseller = readline("Reseller Code: ");
|
||||
|
||||
echo("\n");
|
||||
echo("Name: $business\n");
|
||||
echo("Code: $reseller\n");
|
||||
|
||||
$confirm = readline("Enter 'y' to continue: ");
|
||||
|
||||
if ($confirm == 'y') {
|
||||
$query = "INSERT INTO resellers (business_name,reseller_code) values ('$business','$reseller')";
|
||||
db_query($query);
|
||||
echo("Reseller Inserted\n\n");
|
||||
}
|
||||
else {
|
||||
echo("Cancelled\n\n");
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user