[HELP] tos check

Posted on Wednesday 25th February 2009 at 10:52 PM
peza
peza's Avatar
In my signup script i have

PHP Code
  1. } elseif ($toscheck = "off")
  2. {
  3. $message = "You must accsept the Terms of Service if you wish too register.";
  4. }else{


but its not working the html for the tos check box is as follows:

PHP Code
  1. <td width="50%">I accept the Terms of Service (must accsept)*: </td>
  2. <td width="50%"><input name="toscheck" type="checkbox" value="toscheck"/></td>


When i check the box it still says i have not accsepted the tos when i have! any ideas?
Posted on Wednesday 25th February 2009 at 11:17 PM
ShadowMage
ShadowMage's Avatar
change = "off" to == "off" or != "on"
failure i sense
Login or register to respond to this forum topic.