I am able to refresh a page using normal PHP. How do I do this with CodeIgniter?
I was trying this in PHP:
<html>
<title>Thank You</title>
<body bgcolor="#E6E6FA">
<center>
<h1>Thank You For Visiting...Wish you to visit again...</h1>
</center>
<?php
header(refresh:5; url="login_input.php");
?>
</body>
</html>
I know to I have to write this:
"<?php echo base_url();?>index.php/welcome/"
But where?
Do I have to create functions in model and controller to do this?
Thank you everyone for replying...And many thanks to Mr. Dan Belden for providing the link to gather knowledge.
Actually the desired code which I was looking for is as follows...
<html>
<title>Thank You</title>
<head>
<meta HTTP-EQUIV="REFRESH" content="5; url=<?php echo
base_url();?>index.php/welcome/login">
</head>
<body bgcolor="#E6E6FA">
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<center><h1>Thank You For Visiting...Wish you to visit again.......
</h1></center>
</body>
</html>