Jump to content

How do I define this?


jdock1

Recommended Posts

But of course its echoing before the variables are passed.

 

How do I define it as empty beforehand?

Thanks!

Could you eleborate that? are you using a form

 

if ($user =="")
{
echo "<div class='error'>Wrong username or password combination! You entered $user, $passwd.</div>";
}

Hope this is for testing purposes echoing out passwords is not such a good idea

Link to comment
https://forums.phpfreaks.com/topic/163956-how-do-i-define-this/#findComment-864956
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.