|
From: Enrique T. <enr...@gm...> - 2005-10-29 14:22:03
|
Thanks for your answer. Another question, for this module: I don't know how to make a 'menu' parameter. When I define a parameter as a menu, and introduce the value (For example jamiecameron,Jamie Cameron) in the box, and save the command, I can't see any value. Again, what I'm doing wrong? Thanks in advance Fri, 28 Oct 2005 12:38:00 1000, Jamie Cameron <jca...@we...>: > At the moment, the module doesn't support that kind of parameter substitu= tion. Instead, you can only use SQL like: > > select * from foo where bar =3D ? > > Each of the parameters is substituted in order with a ? in the SQL. > > - Jamie > > -----Original Message----- > > From: Enrique Toledano <enr...@gm...> > Subj: [webmin-l] Easy question > Date: Fri 28 Oct 2005 1:47 am > Size: 784 bytes > To: web...@li... > > Hi all: > > One easy question: > When using the custom commands module and trying to make a sql > command, I don't know how to introduce a parameter in the sql command. > What I'm trying to do is: > > select * from $table > or > select * from :table > > Where "table" is the parameter. > What am I doing wrong? > > Thanks > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > - > Forwarded by the Webmin mailing list at web...@li....n= et > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > - > Forwarded by the Webmin mailing list at web...@li....n= et > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > |