Home > Backend Development > PHP Tutorial > 帮小弟我解释一句代码

帮小弟我解释一句代码

WBOY
Release: 2016-06-13 10:33:25
Original
701 people have browsed it

帮我解释一句代码
$str = (isset($_POST['source']) ? $_POST['source'] : '');
这句话怎么理解啊。其中的问号和冒号又分别起什么作用啊。麻烦
大神们指点下。我找资料没找到。
其中source来自于

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