greenkhan Posted July 6, 2008 Share Posted July 6, 2008 Hi,people Im new to all this so kindly guide me Im making a audio music site Nastyeye.com and I want to add ajax tabs with jquery on main page ,I scratched every tutorial but still dont know how to work it with php..... Can u tell me where am I doing mistake OR I have to use some extra tags to use ajax with php here is a code where Im trying to use ajax <table height="80%" align="center" valign="middle"><tr><td align="center" valign="top"><img src="images/logo.jpg"> <p> <form method="GET" action="index.php"> <input type="text" value="artist name/song" name="search"><INPUT type="submit" value="<?=$lang[search]?>"><br> <input type="radio" name="source" value="all" checked> All<input type="radio" name="source" value="ijigg"> iJigg<input type="radio" name="source" value="MP3Realm"> MP3 Realm<input type="radio" name="source" value="esnips"> Esnips<input type="radio" name="source" value="wrzuta"> Wrzuta <br> </form> <script type="text/javascript"> var collapse2=new animatedcollapse("addsite", 1000, false) </script> </td></tr> </table> I wanted to use those cool tabs by ajax net tuts http://nettuts.com/javascript-ajax/h...t-with-jquery/ It has 3 script and 5 htm files which I have pasted in folder I want to use php code... I wud be thankful if u cud help me with this ... looking forward for your suggestions Link to comment https://forums.phpfreaks.com/topic/113488-i-dont-know-how-to-use-ajax-and-php-together-pls-tell-me/ Share on other sites More sharing options...
adam84 Posted July 10, 2008 Share Posted July 10, 2008 Ajax is just javascript. Ajax works by using javascript to call a php file and the results of the php file are then usually set to a DIV/SPAN tag. So to answer your question, javascript(ajax) works by calling a php file Link to comment https://forums.phpfreaks.com/topic/113488-i-dont-know-how-to-use-ajax-and-php-together-pls-tell-me/#findComment-586418 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.