Home > Backend Development > PHP Tutorial > <a href="action=delete&messageid=<=$result['mid']?>">delete</a>解决办法

<a href="action=delete&messageid=<=$result['mid']?>">delete</a>解决办法

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 10:33:40
Original
2170 people have browsed it
delete
delete
这个有什么错吗?

------解决方案--------------------
delete

应该避免使用短标签。
------解决方案--------------------
楼主确信结果数组$result的数据可以通过$result['mid']传出来?

你var_dump($result); 把结果帖出来看看是不是MID 这个值传递的有问题。
------解决方案--------------------
delete
直接?可以么
------解决方案--------------------
delete
 如果你的php.ini里设置 short_open_tag 为on 是可以用 ?>这样的标记,如果没有开启的话会报错
既然是PHP 建议你老老实实按PHP的语法来做,这样兼容性会好些 如:

delete
Related labels:
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
delete
From 1970-01-01 08:00:00
0
0
0
How to delete database
From 1970-01-01 08:00:00
0
0
0
Reference soft delete method set
From 1970-01-01 08:00:00
0
0
0
PHP delete object properties
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