Home  >  Article  >  Backend Development  >  怎么拿到id删除这个商品

怎么拿到id删除这个商品

WBOY
WBOYOriginal
2016-06-23 14:22:10766browse

回复讨论(解决方案)

onclick="aaa(this,'.$row['id'].')"

还是找不到挖

你不是定义了aaa()方面么,把你的商品id($row['id'])传进去,然后用post或者get的方式传到你的php,php根据这个id delete

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