--- Brian E Boothe <[EMAIL PROTECTED]> wrote: > can't we Do this ?? > if($row_Recordset1['pending']=(open})){echo "<td bgcolor=\"other > color\"><font color=\"other color\" > size=\"2\">";
A single equal sign (=) will assign the value and is always true. If you want to compare two values use the double equal sign (==). I don't know why you have "open" in what looks like an open paren and a closed curly brace. A string value should be in single or double quotes. James