--- Stuart Felenstein <stuart4m@xxxxxxxxx> wrote: > The reason the close is there is because the next > line > of code is the print_r , and I put some html in > there. > So this works great: if ($row_rsCS == false) { print_r ("No Matches Found"); exit; } But because I want to have some html formatting around the print_r, I closed the tags. I'm not sure how to use the endif. Sutart -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php