google map api in php/mysql part 2: create Data Base and table
ฝัง
- เผยแพร่เมื่อ 14 พ.ย. 2024
- Google map api in php and mysql
create data Base and tables
create connection class
create custom class and getter setter
Get the code from:
github.com/dur...
Share, Support, Subscribe!!!
TH-cam: / learnwebcoding
Facebook: / learnwebcoding
Blog: dwebcoding.blog...
GitHub: github.com/dur...
Connect with Me:
Linkedin: / durgesh-sahani
Facebook: / durgeshsahani99
Instagram: / durgesh.sahani99
Twitter: / durgeshsahani99
Thanks a lot for help.. it's the best video on Google map api.
Glad to hear that.. Thank you!!
Simple things are described in a very complex way
how can i change the image to quantity? example i have 5 school in the same city. So it will display the 5 numbers instead of image.
Muy Buen Tutorial
Suscribirme, es la mejor decisión que tome.
Thank you for your amazing tutorial. At the time of doing this, google api key is free or paid?
asllam u alikum sir!
i have a query/question:
1)the data you inserted in table was it original data if it is original where from you collect ?
2) if it is demo data so i insert selfmade or random data in table . you are describe briefly plz help
it is urgent plz answer
Hi sir can u tell me how to generate route path based on lat and long which is sent by mobile app user to our db for every 5sec data will be insert of which that data I need to generate route map but not Google API what it is showing
Simple yet very helpful. ^_^
I am enable to connect with data base
i am getting an error Call to a member function prepare() on null in education.php file .. Can you please help with the code by showing it ....
its printing nothing! what should i do?
i have the same problem
Reg : "Fatal error: Uncaught Error: Call to a member function prepare() on null .......Stack trace: #0
....... #1 {main}"
Make sure you have returned $conn in your DbConnect.php file.
I rectified by that way.
how did u fix your error?
im getting an error like yours, Fatal error: Uncaught Error: Call to a member function prepare() on null in C:\xampp\htdocs\mapping\location.php:33 Stack trace: #0 C:\xampp\htdocs\mapping\mapping.php(31): location->getLocationLatLng() #1 {main} thrown in C:\xampp\htdocs\mapping\location.php on line 33
I used §_post but it doesn't work
Please tell me where it doesn't work.
public function getAllColleges() {
$sql = "SELECT * FROM $this->tableName where id =:id AND type =:type";
$stmt = $this->conn->prepare($sql);
$stmt->bindparam("id",§_POST['id']);
$stmt->bindparam("type",§-POST['type']);
$stmt->execute();
return $stmt->fetchAll(PDO::FETCH_ASSOC);
}
Uncaught Error: Call to a member function prepare() on null in /opt/lampp/htdocs/education.php:35
Stack trace:
#0 /opt/lampp/htdocs/inden.php(24): education->latlng()
#1 {main}
thrown in /opt/lampp/htdocs/education.php on line 35
i to got the same error
i have the same Problem Too.
i am getting an error Call to a member function prepare() on null in education.php file
Same with me
I am getting a "Failed to load resources: the server responded with status of 500 (internal Server Error). I've checked all the code and it seems good and I restarted the server several time and nothing. Any help would be appreciated.
where is the code?
hard bit
sir can you please share code
It's already in description..
@@learnWebCoding why can not appear to me in description sir?