Cgi function
jbv
jbv.silences at club-internet.fr
Wed Aug 30 16:44:37 EDT 2006
Hershel ,
Does your cgi engine include db library ?
Did you set up somewhere in your script the path to the DB driver ?
JB
> Hi, I'm wondering why the following function doesn't work in a CGI script?
>
> FUNCTION getTip
> put revOpenDatabase("Postgresql","127.0.0.1","test","postgres",) into tS
> put revDataFromQuery(,,ts,"select * from contact") into theTFile
> return theTFile
> END getTip
>
> If I add it to a button as below it works fine.
>
> ON mouseUp
> put getTip()
> END mouseUp
>
> Thanks, Hershel
More information about the use-livecode
mailing list