摘要: {foreach from=$test_item item=item_name key=key name=list_id} {$item_name.name} :{if $recive_test_item[$item_name.id] == 1} 正常{/if} {if $recive_test... 阅读全文
posted @ 2015-12-18 13:18 WilliamHu 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 需要转义搞明白 <?php $str = "Who's Bill Gates?"; echo $str . " This is not safe in a database query.<br>"; echo addslashes($str) . " This is safe in a databa 阅读全文
posted @ 2015-12-18 09:52 WilliamHu 阅读(55) 评论(0) 推荐(0) 编辑