i am newbie to php. I used form (in html)as follows in order to pass values.
<form action="index.php" method="post" name="frmPassword" id="frmPassword">
but when i refer the web i found that the following method also used to pass values.
i don't know how to use and what is the specialty in this method instead of previous one and when to use which method
second method is
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post" name="frmPassword" id="frmPassword">
please help i googled couldn't get clear idea.
thx in advance