[olug] Apache/PHP setup problem

Ryan rps at willconsult.com
Thu Nov 14 21:34:36 UTC 2002


>Example:
>
>I created a file called 'test.php' that contains:
>                   <?
>
>                                         echo "<p>Edit -> $edit</p>";
>                   ?>
>
>
>I goto this URL:
>                   http://172.21.28.208/test.php?edit=no
>
>And I see this:
>         Edit ->
>
>Which, to me, is not right.  Anyone got an idea?
>
>-- mikeh


Seems right to me.  I don't see where you are setting $edit to 
anything.  So you are echoing out a blank variable.

-Ryan





More information about the OLUG mailing list