kundan Posted January 5, 2009 Share Posted January 5, 2009 Hello Sir. how can we delete a record in php using javascript? i'm using a button control with onclick event but its not working.so please help me out in this regard. Thanks in advance kundan Quote Link to comment Share on other sites More sharing options...
RichardRotterdam Posted January 5, 2009 Share Posted January 5, 2009 look in to ajax articles on how to do that Quote Link to comment Share on other sites More sharing options...
kundan Posted January 5, 2009 Author Share Posted January 5, 2009 can't we do that without using ajax Quote Link to comment Share on other sites More sharing options...
Psycho Posted January 5, 2009 Share Posted January 5, 2009 can't we do that without using ajax No. PHP is server-side and JavaScript is client-side. The only way to get them to interact (that I know of) is with AJAX. And, by "deleting a record in PHP" I am assuming you are referring to database records. Because PHP doesn't store records. Quote Link to comment Share on other sites More sharing options...
kundan Posted January 5, 2009 Author Share Posted January 5, 2009 Thank You very much kundan 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.