Im sorry if this kind of question has been asked before. but i spent much time searching for but I could not find the solution. so i'm posting here..
Problem: I'm trying to post the values onto the same page(working with Jquery mobile UI). so I'm using $_SERVER['PHP_SELF'] in action for my form in the page. Please check the spelling for action(working for actoin but not for action)
when i'm using this its posting in the same page and i'm happy
<form method="POST" actoin="<?php echo $_SERVER['PHP_SELF'];?>">
Please check the spelling for action
but,
when I'm using this <form method="POST" action="<?php echo $_SERVER['PHP_SELF'];?>">
Its pointing to index.php of my application.
can anyone please tell me..why its happening like this..please note that I know that its typo..
Thanks,