This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- create table | |
CREATE TABLE cities | |
( | |
id INT PRIMARY KEY NOT NULL auto_increment, | |
cityName VARCHAR(255), | |
cityState VARCHAR(255), | |
cityPopulation int, | |
country VARCHAR(255) | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/*************************************************************** | |
Description: City data in JSON. | |
Developer: Vishal Kurup | |
***************************************************************/ | |
$host = "abc12345"; //Your database host server | |
$db = "abc12345"; //Your database name | |
$user = "abc12345"; //Your database user |