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

[eluser]maria clara[/eluser]
[quote author="max123" date="1265976849"]Both are not working. Also there are no 'echo' statements above the redirect function. I'm struggling for hours to solve this. Please help if u have time

Thanx[/quote]

have you loaded a url helper?? if not load it

Code:
$this->load->helper('url');

can you show me the full part of this code??

Code:
if($rows>=3)
        {
            redirect(’/seeker/my_searches’, ‘refresh’);
                  echo “[removed]alert(‘You cannot create more than 3 search agents’);[removed]”;
        }
                //———-some more codes



EDIT:

i saw your helper. Sorry for not reading Tongue


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