Home > Backend Development > PHP Tutorial > PHP语句,多重引号有关问题

PHP语句,多重引号有关问题

WBOY
Release: 2016-06-13 11:50:55
Original
1551 people have browsed it

PHP语句,多重引号问题
双引号里面有单引号,单引号里面还需要引号怎么办?
echo   "";  onclick里面的单引号里面还要加引号,怎么办
------解决方案--------------------

echo   "<input type='button'  class='btnStyle' name='button' id='sbutton' onclick=\"location.href='__URL__/edit?id={$s.uid}&'\" value='完成'/>";
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template