Best way to Integrate a Javascript result with PHP

后端 未结 3 897
北海茫月
北海茫月 2021-01-14 13:46

Ok.

Basically I am utilizng the Google Maps API - It is Javascript.

My site runs off PHP for the most part.

My intention is to make calls to the Goog

3条回答
  •  心在旅途
    2021-01-14 14:03

    To send an answer from JavaScript to PHP requires AJAX:

    If you can use JQuery, which is pretty much a standard, it's really easy. This is verbatim from one of the lessons I wrote for my PHPPro course:

    receiveNumbers.php

    index.php

     
        
            Graph Sort | PHPExperts.pro
            
            
            
       
    
    

提交回复
热议问题