Jump to content

Why does it die?


heldenbrau

Recommended Posts

In the database the field active is set to y

 

It always dies with this code

if ($row['active']!="y"){
          die (header("location:forgotten.php?notactive=f"));

 

But if I use this it doesn't

if ($row['active']=="n"){
          die (header("location:forgotten.php?notactive=f"));

 

Shouldn't they both produce the same result?

Link to comment
https://forums.phpfreaks.com/topic/171325-why-does-it-die/
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.