CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Ajax and Design (http://www.codingforums.com/forumdisplay.php?f=55)
-   -   AJAX PHP interaction (http://www.codingforums.com/showthread.php?t=134825)

koolaid 03-07-2008 12:46 PM

AJAX PHP interaction
 
Hello,

I have just started to learn AJAX, I have knowledge of PHP. What I have now is a login script in PHP which I call through AJAX, but the problem is, I don't really know how to interact and display messages etc. for example if the PHP script has successfully logged in, I'll echo "Logged in", but should I use AJAX to catch the phrase "Logged in" and display a proper message? Or should I echo all the HTML in PHP instead and use document.xmlhttp.responseText to show it in AJAX?

Any help would be greatly appreciated!

Thanks.

abduraooft 03-07-2008 01:05 PM

Have a look at Ajax Toolkit for PHP - SAJAX


All times are GMT +1. The time now is 09:47 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.