> if(!isset($cid) || $cid == NULL || $cid == "" || !is_numeric ($cid))
> {
> echo "I don't like you >:|";
> exit();
> }
you know that $cid == NULL equals $cid == ""? (int)0, too btw.
either check $cid == '' (what is 0 & NULL, too)
or $cid === NULL || $cid === '',
or empty($cid)
> if(!isset($cid) || $cid == NULL || $cid == "" || !is_numeric ($cid))
> {
> echo "I don't like you >:|";
> exit();
> }
you know that $cid == NULL equals $cid == ""? (int)0, too btw.
either check $cid == '' (what is 0 & NULL, too)
or $cid === NULL || $cid === '',
or empty($cid)
...
[ more ]