init commit
This commit is contained in:
30
public/invitation.php
Normal file
30
public/invitation.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
$link = @mysqli_connect('127.0.0.1','yycea_db','2HihJTf3hhmKdzYW','yycea_db');
|
||||
mysqli_query($link,'set names utf8');
|
||||
if (!$link) {
|
||||
printf("Can't connect to MySQL Server. Errorcode: %s ", mysqli_connect_error());
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//******************************
|
||||
$username = $_POST['username'];
|
||||
$company = $_POST['company'];
|
||||
$position = $_POST['position'];
|
||||
$hometown = $_POST['hometown'];
|
||||
$gender = $_POST['gender'];
|
||||
$is_member = $_POST['is_member'];
|
||||
$attendees = $_POST['attendees'];
|
||||
$mobile = $_POST['mobile'];
|
||||
|
||||
|
||||
//检查手机号
|
||||
$mysql = "Select * from ecs_region where region_name = '$city'";
|
||||
$rest = mysqli_query($link,$mysql);
|
||||
|
||||
|
||||
|
||||
exit;
|
||||
?>
|
||||
Reference in New Issue
Block a user