![]() |
problem in search function_automatically redirect to page[solved] - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html) +--- Thread: problem in search function_automatically redirect to page[solved] (/thread-49025.html) |
problem in search function_automatically redirect to page[solved] - El Forum - 02-06-2012 [eluser]asmaa kamal[/eluser] hi i try to code a function that take userid from inputbox , search it on database and return with all userdata , view it in a page Quote:the problem is that when pressing the search button it give me this error and the url become :: http://localhost/t/index.php/search/search.php what is the problem ? the controller code :: Code: <?php the model code :: Code: <?php the original view code is (searchht.php):: Code: <html> the sucsess view code(searches.php) :: Code: <?php plz help me ? problem in search function_automatically redirect to page[solved] - El Forum - 02-06-2012 [eluser]deqer[/eluser] <form action="search.php"> search.php ? try action="" or <form action="otp/"> or <form action="http://localhost/t/index.php/search/otp"> problem in search function_automatically redirect to page[solved] - El Forum - 02-06-2012 [eluser]asmaa kamal[/eluser] thanks , it works ![]() problem in search function_automatically redirect to page[solved] - El Forum - 07-13-2012 [eluser]skhan[/eluser] i tried this but error Undefined variable $data1 in searches.php someone help me pls. |