ngreenwood6 Posted October 6, 2008 Share Posted October 6, 2008 I am trying to make it so that if my status code is 6 to redirect to process_login.php. I do not know how to redirect with ajax can someone help. My code looks like this: if(status == 6) { //redirection code goes here } Thanks in advance Link to comment https://forums.phpfreaks.com/topic/127242-redirection/ Share on other sites More sharing options...
F1Fan Posted October 6, 2008 Share Posted October 6, 2008 If this is in your JS code: window.location = 'process_login.php'; Link to comment https://forums.phpfreaks.com/topic/127242-redirection/#findComment-658140 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.