which one is better php or jquery ?
 header('Location: http://myhost.com/mypage.php');
     or
printf('<script type="text/javascript">location.href = " http://myhost.com/mypage.php";</script>');
and when do we use one over the other? Thanks . Is it users interest or do they have any conditions to follow. Kindly let me know, what is the basic need of header and how does it really work.
 
     
     
     
     
     
     
    