Jump to content

if statement


ohdang888

Recommended Posts

ok i'm having a problem with this....

 

the page is "edit_settings.php?source=1"

 

this is where the problem is:

 

function sql_quote($data) {
  if (get_magic_quotes_gpc()) {
  $data = stripslashes($data);
  }

return addslashes($data);
}

$id = $_SESSION['id'];
$new = sql_quote($GET['source']);


if ($new == 1){
echo 'You have successfully reigstered!';
echo '<br>';
echo '<font size=6>';
echo 'IMPORTANT: Please take a moment to review your profile settings.';
}

 

but the "you have registersed" and "take a moment" is not showing up at all. whats wrong?

 

 

Any help is greatly appreciated! thanks.

Link to comment
https://forums.phpfreaks.com/topic/94103-if-statement/
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.