Look at your print statements. There probably is one that shouldn't be there.
Also, your condition should look like the following. The equality operator == is to be used for numerical comparisons.
if ($register == 1) {
In reply to Re^3: Cookie Help
by olus
in thread Cookie Help
by k0rn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |