/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// page['special'] has 0, 1 or 2 // 1 is home page, 2 is not displayed if($specials[$i]!=''){ echo '<input type="checkbox" name="special[',$i,']"'; echo ' />',$specials[$i],'<br />'; }