Welcome Guest, Not a member yet? Register   Sign In
redirect doesn't work
#9

[eluser]maria clara[/eluser]
Quote:A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\Mycareergate3\system\application\controllers\seeker.php:13)

there should be no white spaces.

instead of

Code:
if($rows>=3)
            {
                redirect('/seeker/my_searches','refresh');
                 echo "[removed]alert('You cannot create more than 3 search agents');[removed]";
            }

try

Code:
if($rows>=3)
            {
                redirect('seeker/my_searches','refresh');
                
            }


Messages In This Thread
redirect doesn't work - by El Forum - 02-11-2010, 11:58 PM
redirect doesn't work - by El Forum - 02-12-2010, 12:02 AM
redirect doesn't work - by El Forum - 02-12-2010, 12:14 AM
redirect doesn't work - by El Forum - 02-12-2010, 12:17 AM
redirect doesn't work - by El Forum - 02-12-2010, 12:20 AM
redirect doesn't work - by El Forum - 02-12-2010, 12:23 AM
redirect doesn't work - by El Forum - 02-12-2010, 12:23 AM
redirect doesn't work - by El Forum - 02-12-2010, 12:26 AM
redirect doesn't work - by El Forum - 02-12-2010, 12:29 AM
redirect doesn't work - by El Forum - 02-12-2010, 12:37 AM
redirect doesn't work - by El Forum - 02-12-2010, 12:41 AM
redirect doesn't work - by El Forum - 02-12-2010, 12:58 AM
redirect doesn't work - by El Forum - 02-12-2010, 01:03 AM
redirect doesn't work - by El Forum - 02-12-2010, 01:18 AM
redirect doesn't work - by El Forum - 02-12-2010, 02:06 AM
redirect doesn't work - by El Forum - 02-12-2010, 02:31 AM
redirect doesn't work - by El Forum - 02-12-2010, 04:01 AM
redirect doesn't work - by El Forum - 02-13-2010, 01:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB