Home > Backend Development > PHP Tutorial > php 超简略面试题

php 超简略面试题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 13:19:03
Original
956 people have browsed it

php 超简单面试题

? ? 代码修正:

修改前:

echo("Search results for query: " .$_GET['query']. ".");
?>
Copy after login
修改后:

?

<?php $query = $_GET['query'];
if(isset($query))
{
    echo 'Search results for query: ',htmlspecialchars($query, ENT_QUOTES),'.';
}
?>
Copy after login
?

不说了,你懂的!

?

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
Latest Issues
Query paging
From 1970-01-01 08:00:00
0
0
0
Why is the native query going wrong? . .
From 1970-01-01 08:00:00
0
0
0
query question
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template