How do I add a relative path to submit an HTML form?
I want to use a relative path to submit an HTML form. I tried ./submit
it but it doesn't work.
CodeIgniter + Generated Code:
echo form_open('./submit');
// <form action="http://example.com/./submit" method="post" accept-charset="utf-8">
This is what I want:
http://example.com/seekerpanel/changepassword/submit
And this is what I get:
http://example.com/submit
How do I refer to this path relative to the page changepassword
?
+3
source to share