类function怎么调用

WBOY
Release: 2016-06-13 12:22:17
Original
1034 people have browsed it

类function如何调用?
function autoExecute($table, $field_values, $mode = 'INSERT', $where = '', $querymode = '')
    {
。。。}
如何调用:$b=$new->autoExecute("fish",array('repass'=>'ss'),'',name=>'zhu');?where条件如何写?
function autoReplace($table, $field_values, $update_values, $where = '', $querymode = '')
    {
。。。}
如何调用:$c=$new->autoReplace("fish", array('name'=>'zhu','pass'=>'ss','repass'=>'s'), array('repass'=>'ss'));?
数据库里的内容是:'name'=>'zhu','pass'=>'ss','repass'=>'s'
如何更改为:'name'=>'zhu','pass'=>'ss','repass'=>'ss'
------解决思路----------------------
楼主请转到 WEB开发 / PHP 频道
------解决思路----------------------
where条件如何写?
根据你的需要呀

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