HI all,
I have this snippet of code:This is part of a larger script that connects to the database and a certain table. Then, I have the above code. You can probably figure out what it's supposed to do.PHP Code:<P>Visible:<BR>
<input type=radio name="visible" value="Y" <?php if ($visible == Y) {
echo("CHECKED");
} else {
echo("");
}?>>Yes <input type=radio name="visible" value="N" <?php if ($visible == N) {
echo("CHECKED");
} else {
echo("");
}?>>No</P>
I'm not getting errors, but it is not printing CHECKED at all. I'm positive that the database has this registered (as opposed to being an empty field.)
Any help is greatly appreciated.
-Corbb




Bookmarks