Appending a Query String to the End of a Function Action URL
- by John
Hello,
For the code below, I would like to append echo $_SERVER['QUERY_STRING']; to the end of index.php. But when I try to do it, it makes the code return a blank page. So I think I might be doing it wrong.
How can I correctly make this appendage?
Thanks in advance,
John
<?php
function show_loginform($disabled = false)
{
echo '<form name="login-form" id="login-form" method="post" action="./index.php">
...
?>