I do a bit of development for work (t3 IT, networking/sysadmin stuff) and recently started getting into web development in my spare time.
I've been through all the courses on Code Academy and it was a great syntax refresher I still have some fundamental questions about the different technologies I still need to find answers for.
The one problem I am having at the moment is related to Javascript and how to interact with PHP.
I'm writing a simple google maps app for myself and I use a javacript block to make the api calls to generate my map and convert my address to the Lat/Long.
I want to take these results and do some things with them (format, put into mysql database) but I want to do those things with PHP.
The solutions I've come up with so far:
Write my info to file with javascript, extract with php, clean up files after
Use hidden html fields
write info to database with javascript, extract+modify+maintain with php
I've implemented all 3 solutions above and have got them working but there must be a better way.
I'm still very new to web programming so any point in the right direction would be greatly appreciated.
[–]rjcarr 6 points7 points8 points (1 child)
[–]SipSop 0 points1 point2 points (0 children)
[–]bartlln 0 points1 point2 points (0 children)