
06-05-2002, 10:57 AM
|
 |
|
|
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
If you figure it out or get an answer to the question about why that code won't work, I'd be interested in hearing about it.
Quote:
Originally posted by Tommy Boy
If I'm not mistaken, you forgot to add:
PHP Code:
$sendtoforumchecked = ($sendtoforum) ? "checked" : "";
Right after:
PHP Code:
$parseurlchecked=iif($parseurl,"checked","");
$emailchecked=iif($email,"checked","");
$disablesmilieschecked=iif(!$allowsmilie,"checked","");
$signaturechecked=iif($signature,"checked","");
In both newthread.php and newreply.php. Without those lines, the checkbox will be cleared when you preview the post.
BTW: Any idea why the following line does NOT work?
PHP Code:
$sendtoforumchecked=iif($sendtoforum,"checked","");
|
|