Home > Backend Development > PHP Tutorial > 新人提问:居然输出一片空白

新人提问:居然输出一片空白

WBOY
Release: 2016-06-13 10:29:31
Original
945 people have browsed it

新人提问:竟然输出一片空白






Jazz Legends - Miles Davis





Provide up to six keywords that you believe best describe the state in
which you live:



Keyword 1:




Keyword 2:




Keyword 3:




Keyword 4:




Keyword 5:




Keyword 6:









index.php:
function sanitize_data(&$value, $key) {
$value = strip_tags($value);
}

array_walk($_POST['keyword'], "sanitize_data");
?>

输入数据后提交转到index.php输出竟然一片空白。。。。为什么呢?完全不关单引号双引号的事!

------解决方案--------------------
是不是要加个echo
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template