Home >php教程 >php手册 >php和js交互一例

php和js交互一例

WBOY
WBOYOriginal
2016-06-21 09:14:511678browse

js|交互

php和js交互一例



Untitled



$myrow[guest_name]="asdf"";
$myrow[guest_name]="asdf'";
$guest_name=addslashes($myrow[guest_name]);
//$guest_name=str2js($myrow[guest_name],"'");
$dele_mess="
Statement:
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
Previous article:PHP5试用(一)Next article:PHP4中的SESSION管理