problem in search function_automatically redirect to page[solved] |
[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 ?
[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">
[eluser]skhan[/eluser]
i tried this but error Undefined variable $data1 in searches.php someone help me pls. |
Welcome Guest, Not a member yet? Register Sign In |