[PHP] Re: Login displays the pass and user in url

2002-03-25 Thread Martha S
You have to add an extra tag into the form tag (method="post"), it should read as follows: (" "David Orn Johannsson" <[EMAIL PROTECTED]> wrote in message 003001c1d418$7126b3f0$6500640a@gandalf">news:003001c1d418$7126b3f0$6500640a@gandalf... Can I some how prevent the browser from displayin index

[PHP] undefined variable when using if ($var) {}

2002-03-25 Thread Martha S
I'm rather new to PHP, so this should be fairly easy to answer. I checked the manual and FAQ already. I'm using the following code, and I get the following message if $id has nothing in the var (i have it set to a default of type int, not null in mysql). Is there a way around this or something I