How to Redirect to Another Website Using PHP

How to Redirect to Another Website Using PHP

To redirect to another website in PHP, we make use of header function.  Sample code is given below:

 

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •