add some inster scripts
This commit is contained in:
8
geoapi/insert/createPlaceNewsInsert.php
Normal file
8
geoapi/insert/createPlaceNewsInsert.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
$file = "placealias.json";
|
||||
$json = json_decode(file_get_contents($file),true);
|
||||
foreach ($json as $row) {
|
||||
|
||||
echo "INSERT INTO `placeservice`(`pid`, `sid`, `request`) VALUES (".$row["pid"].",2,'/p/".$row["alias"]."');\n";
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user