PHP database connectivity/access using AJAX
<p>I need to pass some data via AJAX POST or GET to a php file which then uses that data to </p>

<p>reference or access a database without actually refreshing the page. How am i to do it?</p>

<p>For ex: if i use: </p>



function callFunc() {

$.post    (    "    phpFile.php    "    ,         {    name: "James"}

...

...

...

}

