need syntax for $string=true or $string=false
Posted: Thu Jul 29, 2004 5:48 pm
i made a private message system and now im adding the safeguards for it but i cant remember the = true part or = false
heres my code
the code is working fine but i want to add this check to tell if they are sending to a non-existent user
heres my code
the code is working fine but i want to add this check to tell if they are sending to a non-existent user
Code: Select all
if ($result=true){
echo "Your Message Has Been Sent. You can view your pms " . '<a href="viewpms.php">Here</a>';
die;
}
if ($result=false){
echo "No user by that name exists";
die;
}