Welcome Guest, Not a member yet? Register   Sign In
loading a view with an argument
#6

[eluser]xwero[/eluser]
What is wrong with adding the url to the form action attribute?
Code:
<form action="<?php echo current_url() ?>" method="post">
This keeps the form on the same page.

If you are going from one method to another you need use the redirect.


Messages In This Thread
loading a view with an argument - by El Forum - 12-14-2008, 07:42 PM
loading a view with an argument - by El Forum - 12-14-2008, 08:00 PM
loading a view with an argument - by El Forum - 12-14-2008, 09:15 PM
loading a view with an argument - by El Forum - 12-15-2008, 02:36 AM
loading a view with an argument - by El Forum - 12-15-2008, 03:19 AM
loading a view with an argument - by El Forum - 12-15-2008, 03:29 AM
loading a view with an argument - by El Forum - 12-15-2008, 03:45 AM
loading a view with an argument - by El Forum - 12-15-2008, 03:49 AM
loading a view with an argument - by El Forum - 12-15-2008, 03:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB