-Edward-
08-01-2003, 05:09 AM
Ok,
I'm using enum to make fields visible and invisible on my website, i can display them find depending on whether i want Y or N to be displayed.
the bit of the form on my page is:
<input type="radio" name="sVisible" value="N" checked="checked" />
N
<input type="radio" name="sVisible" value="Y" />
Y / currently: <?php echo $sVisible; ?>
i have this inserted in my update command:
sVisible='$sVisible'
this shows what it's currently set at:
$sVisible = $author['sVisible'];
So i can display what it's set as but when i click update it doesnt change from N to Y if i change it's option.
Field is Called sVisible
the type is ENUM
Length/values is: 'N','Y'
null = not null
Default = N
Thats how it's setup any ideas?
I'm using enum to make fields visible and invisible on my website, i can display them find depending on whether i want Y or N to be displayed.
the bit of the form on my page is:
<input type="radio" name="sVisible" value="N" checked="checked" />
N
<input type="radio" name="sVisible" value="Y" />
Y / currently: <?php echo $sVisible; ?>
i have this inserted in my update command:
sVisible='$sVisible'
this shows what it's currently set at:
$sVisible = $author['sVisible'];
So i can display what it's set as but when i click update it doesnt change from N to Y if i change it's option.
Field is Called sVisible
the type is ENUM
Length/values is: 'N','Y'
null = not null
Default = N
Thats how it's setup any ideas?
