Appending a Query String to the End of a Function Action URL

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-04-19T19:10:45Z Indexed on 2010/04/19 19:13 UTC
Read the original article Hit count: 213

Filed under:

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"> 

    ...

    ?>

© Stack Overflow or respective owner

Related posts about php