Variables and MySQL

2004-12-08 Thread Dave Kettmann
Hi List, I have a script that takes input ( Formatted: +1## ). What it does with the input is read thru a database table and try to find a match. Here is an example to help clarify this: +--+--+ | alias| sendto

Re: Variables and MySQL

2004-12-08 Thread Lawrence Statton
Hi List, I have a script that takes input ( Formatted: +1## ). What it does wi th the input is read thru a database table and try to find a match. Here is a n example to help clarify this: Here is the cleaned up version of what you're doing -- since I don't have your database I'm

Re: Variables and MySQL

2004-12-08 Thread Lawrence Statton
Aww, dangit --- I should have not used __TARGET__ as the replacement tag -- there is just too much room for confusion with reserved words like __PACKAGE__ or __LINE__ ... Everyone take out your erasers and change that to --TARGET-- please :) --L -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Variables and MySQL

2004-12-08 Thread John W. Krahn
Dave Kettmann wrote: Hi List, Hello, I have a script that takes input ( Formatted: +1## ). What it does with the input is read thru a database table and try to find a match. Here is an example to help clarify this: +--+--+ | alias

passing variables into mysql

2003-03-31 Thread Jasmine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Is there any way to pass variables into MySQL statements for execution? I m using the DBI package. Thanks! Heres my snippet and it doesnt work. dbconnect(); prepare the query for execution my

Re: passing variables into mysql

2003-03-31 Thread beau
Hi - On 1 Apr 2003 at 1:20, Jasmine wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Is there any way to pass variables into MySQL statements for execution? I m using the DBI package. Thanks! Heres my snippet and it doesnt work. dbconnect

passing variables into mysql - part2

2003-03-31 Thread Jasmine
variables into MySQL statements for execution? I m using the DBI package. Thanks! Heres my snippet and it doesnt work. dbconnect(); prepare the query for execution my ($sql01) = join select description from table where host=, $abc;; Why

Re: passing variables into mysql

2003-03-31 Thread Joe Mecklin
by eqpt_name, cfa; $sth = $dbh-prepare(select * from defective_ports $dbh_args); $sth-execute(); * hope this helps, joe On Mon, 2003-03-31 at 11:20, Jasmine wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Is there any way to pass variables into MySQL