From: ts Date: 2002-10-22T22:36:47+09:00 Subject: Re: Using variables in conn.exec (pgsql) >>>>> "K" == Korshunov Ilya writes: K> res="CREATE TABLE ", username, " (id SERIAL, a char)" Well, here `res" will be an Array not a String. Probably you want `+' rather than `,' K> result = conn.exec ($res) You use `$res', which is not initialized, rather than `res' Guy Decoux