Re: [PHP] how to write IF statement for login script

2005-03-23 Thread Nick
Thanks, that seems to have worked. M. Sokolewicz wrote: Nick wrote: Hi, I have a login script which has worked fine in the past, however i need to change the IF statement. Basically all i want it to do is verify that $squadnum variable is inbetween 1-98 or is 99. I'm not even entirely sure if

Re: [PHP] how to write IF statement for login script

2005-03-23 Thread M. Sokolewicz
Nick wrote: Hi, I have a login script which has worked fine in the past, however i need to change the IF statement. Basically all i want it to do is verify that $squadnum variable is inbetween 1-98 or is 99. I'm not even entirely sure if i need to use the ereg function and i dont think the "1

[PHP] how to write IF statement for login script

2005-03-23 Thread Nick
Hi, I have a login script which has worked fine in the past, however i need to change the IF statement. Basically all i want it to do is verify that $squadnum variable is inbetween 1-98 or is 99. I'm not even entirely sure if i need to use the ereg function and i dont think the "1-98" bit is