|
From: Jamie C. <jca...@we...> - 2005-10-28 02:39:42
|
At the moment, the module doesn't support that kind of parameter substitution. Instead, you can only use SQL like: select * from foo where bar = ? 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... To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list |