如何刪除索引陣列中的值。
<?php $error_descriptions[1] = "A fatal error has occured"; $error_descriptions[2] = "PHP issued a warning"; $error_descriptions[8] = "This is just an informal notice";
unset($error_descriptions[2]); // 刪除 $error_descriptions[2] 資料
print_r($error_descriptions);
?>
JavaScript 實現網頁列印 自動分頁 自動列印
Continue reading “[Javascript] 實現網頁列印 自動分頁 自動列印” »