Dobakat Posted December 18, 2006 Share Posted December 18, 2006 I have a code that works perfectly and in the handleResponse() I got this code:[code] if(response) { // UPDATE ajaxTest content document.getElementById("monsterAttack").innerHTML = response; setTimeout(monsterAttack,2000); } [/code]But I want it to stop if it meets certain condition, like x<=0? Quote Link to comment Share on other sites More sharing options...
huntusa Posted December 27, 2006 Share Posted December 27, 2006 Hi All, What will be best book to start learning PHP?I want learning by examples.Any recommendations?Please help!!!thanks Quote Link to comment Share on other sites More sharing options...
AV1611 Posted December 27, 2006 Share Posted December 27, 2006 $array contains apple, orange, bananaI want to do:if ($string == of the items in $array[])what is the syntax?Thanks Quote Link to comment 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.