Jump to content

Recommended Posts

	  <input type=\"radio\" name=\"RadioGroup2\" value=\"Down\">
  Downed
  <input name=\"RadioGroup2\" type=\"radio\" value=\"Up\" checked>
  Still Standing

 

It's inside a while statement, and it echoes fine, the buttons are intact and the code shows it checked on the source, however it's just not selecting either button, any ideas?

Did you clear your cache after changing the code? Ctrl+F5.

 

If you refresh normally then the browser will select whatever was selected before.

 

I think only Firefox does that (IE doesn't anyway) - but I'm guessing that might be the problem.

while($BossRow = mysql_fetch_array($BossQuery)) {
extract($BossRow);
$Boss = $Name;
if($Status = "Up") {
$Checked3 = "checked";
} else {
$Checked4 = "checked";
}

	  <input type=\"radio\" name=\"RadioGroup2\" value=\"Down\" $Checked3>
	  Downed
	  <input name=\"RadioGroup2\" type=\"radio\" value=\"Up\" $Checked4>
	  Still Standing

 

I skipped everything in between and under it since it has nothing to do with this, this is the code im using to determine if it should be checked or not

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.