11 2011 档案
摘要:=====================================================在plugins/op插件名Plugin/lib/form/doctrine/目录下创建一个 VoteForm.class.php类文件,VoteForm名随意起类文件中的'VoteForm'类必须继承'BaseForm'类而且在'configure()'方法里增加表单元素,增加表单元素的格式如下<?phpclass VoteForm extends BaseForm{ public function configure() { $su
阅读全文
摘要:<?php include_partial('sidemenu',array('form'=>'asdfgasgsad'));?>这句话意思是包含'_sidemenu.php'并往其页面传一系列参数,'_sidemenu.php'页即可直接使用$form变量中的值<?phpop_include_box('vote_question_create_box','<strong>asdfasdf</strong>',array('ti
阅读全文
摘要:==================================================================================使在cmd命令符下找到php命令打开“我的电脑”->“属性”->“高级”->“环境变量”->“系统变量”->“path”,编辑其值,在前面增加下面的路径地址:D:\wamp\bin\php\php5.3.0; ===========php编译安装目录将php.ini复制到C:\Windows 目录下=====================================================
阅读全文
摘要://====================================================================往表中增加数据Member为表名/* $ins_vote_answer = new voteAnswer();//往vote_answer表中插入数据 $ins_vote_answer['id'] = 3; $ins_vote_answer['member_id'] = 1; $ins_vote_answer['vote_question_id'] = 1; $ins_vote_answer['vot
阅读全文

浙公网安备 33010602011771号