Thanks for all the comments. I didn't think about the NULL being in a string.
Something like
$trail = "<A HREF=\"$PHP_SELF?view_cat=\">Top</A>";
works, but it just didn't feel right to leave the view_cat= hanging with nothing after the equal sign 🙂 I finally decided to break up the string, like
$trail = "<A HREF=\"$PHP_SELF?view_cat=".NULL."\">Top</A>";
A.J. Wilson