nashsaint Posted March 22, 2009 Share Posted March 22, 2009 Hi, I have a site running locally, using php and sql. I've seen some pretty sites online with what they call spry or ajax. I am a newbie to this kind of script so i don't know where to begin, especially because I needed to do it quickly. My site, like i said, is running perfectly. All i want to do is introduce ajax or spry into it. Is there a way to kind of wrap my sql queries or php script with ajax? or i have to rewrite my script altogether to achieve this? I've done some research already on google and found a couple of ways but I am just hoping you gurus out there can help me solve this quickly. Thanks in Advance! More power! Quote Link to comment https://forums.phpfreaks.com/topic/150590-solved-spry-or-ajax/ Share on other sites More sharing options...
Maq Posted March 22, 2009 Share Posted March 22, 2009 In general you don't have to rewrite your whole script, but your question is very vague... I am just hoping you gurus out there can help me solve this quickly. Solve what quickly? Do you have something specific you want to achieve? You may want to read the basics: PHP and AJAX Quote Link to comment https://forums.phpfreaks.com/topic/150590-solved-spry-or-ajax/#findComment-791014 Share on other sites More sharing options...
nashsaint Posted March 22, 2009 Author Share Posted March 22, 2009 sorry about that... what i want is to check data in sql on the fly, without refreshing or redirecting a php page. Quote Link to comment https://forums.phpfreaks.com/topic/150590-solved-spry-or-ajax/#findComment-791019 Share on other sites More sharing options...
Maq Posted March 22, 2009 Share Posted March 22, 2009 I posted a link in my previous post but it doesn't work for some reason, here's a basic tutorial on how to accomplish this: PHP and AJAX. Quote Link to comment https://forums.phpfreaks.com/topic/150590-solved-spry-or-ajax/#findComment-791024 Share on other sites More sharing options...
nashsaint Posted March 22, 2009 Author Share Posted March 22, 2009 Thanks a lot Maq. That is exactly what I wanted. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/150590-solved-spry-or-ajax/#findComment-791027 Share on other sites More sharing options...
Maq Posted March 22, 2009 Share Posted March 22, 2009 Thanks a lot Maq. That is exactly what I wanted. Thanks. Sure. If you're getting into AJAX you mine as well check out some of the libraries they have to offer. Some popular ones: jQuery Scriptaculous MooTools Also please mark as [sOLVED]. Quote Link to comment https://forums.phpfreaks.com/topic/150590-solved-spry-or-ajax/#findComment-791032 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.