[jQuery] JSON, PHP and JQuery
Hello,
I would like some my frustration gone. I would like to know the
following:
so when you json_encode with php, how do you get it from that page
onto the $.getJSON
I know that $_GET will retrieve information from the URL and if its
ajax no information gets put into the
URL but do I need to use a $_GET to retrieve the information from
JSON.
so my code this is my code
//main.php
searchAndPrintVideosByKeywords($computersarr);
//functions.php
//in this file is the function searchAndPrintVideosByKeywords
//as well as the json_encode function that gets called.
echo 'Category: ' . $videoEntry->getVideoCategory() . "\n";
json_encode(array(
'data' => '<object width="425" height="344"><param name="movie"
value="'.$videoEntry->getFlashPlayerUrl().'"></param><param
name="allowFullScreen" value="true"></param><embed src="'.$videoEntry-