Home > Backend Development > PHP Tutorial > An example of interaction between php and js-PHP tutorial, PHP application_PHP tutorial

An example of interaction between php and js-PHP tutorial, PHP application_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-21 15:58:18
Original
891 people have browsed it

Copy code The code is as follows:




Untitled



$myrow[guest_name]="asdf"";
$myrow[guest_name]="asdf'";
$guest_name=addslashes($myrow [guest_name]);
//$guest_name=str2js($myrow[guest_name],"'");
$dele_mess="Do you really want to delete this message? nMessage name: $guest_name($myrow[guest_ip])"."nMessage time: $myrow[guest_time]";
echo "<script>"; <br>echo "delete_mess="$dele_mess"" ; <br>echo "</script>";
?>
" onClick='return rec_delete(delete_mess)'>Delete


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/317642.htmlTechArticleCopy the code as follows: html head metahttp-equiv="Content-Type"content="text/html;charset =gb2312" titleUntitled/title scriptlanguage="javascript" !-- functionrec_delete(message)...
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
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
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