You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
263 B
15 lines
263 B
5 years ago
|
<?php
|
||
|
include '../../functions.php';
|
||
|
|
||
|
header('Access-Control-Allow-Origin:*');
|
||
|
|
||
|
$tel=$_REQUEST['tel'];
|
||
|
$name=$_REQUEST['name'];
|
||
|
|
||
|
$conn=db__connect();
|
||
|
|
||
|
db__pushData($conn,"user",array("name"=>$name),array("tel"=>$tel));
|
||
|
|
||
|
echo json_encode(array("code"=>0));
|
||
|
|
||
|
die();
|