I want to tahnk those that responded to my previous post, seems I was doing this all the wrong way. I am still having an issue with the syntax:
if("$status=='active'"){ echo("active line\n"); }else{ echo("inactive line\n"); }; When I display an employee record that has the employment status $Row[status] of active, then the "active line" displays no problem, when I display an employee record of an inactive employee, I still get the "active line". I have also tried to do it this way but to no avail: if("$Row[status]=='active'"){ echo("active line\n"); }else{ echo("inactive line\n"); }; Not to mention numerous ways of adding/removing/changing double quotes and single quotes around. Any and all help would be greatly appreciated Jess -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php