AutoHotkey Community

It is currently May 27th, 2012, 12:51 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: January 19th, 2006, 9:09 pm 
Offline

Joined: January 8th, 2006, 10:31 pm
Posts: 8
Hi,

I have a pretty simple SQL call I want to make to my postgreSQL db, and I'm looking for any direction you can give. I'm guessing some sort of api (hopefully already written) is what I need.


thx,
fooz


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 21st, 2006, 2:12 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
I haven't seen any posts yet that offer a way to do it directly, but you could use FileAppend to create a .sql or .php file to query the database. Then use RunWait to run it (and it would write is results to a file). Then use a file-reading loop to read the results, row by row.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 21st, 2006, 9:25 pm 
Offline

Joined: January 8th, 2006, 10:31 pm
Posts: 8
Thanks.

I've actually gone the PHP route and needing only an integer value from the database returned, I'm able to pass it from the PHP to AHK via the exit code.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], BrandonHotkey, chaosad, jrav, MSN [Bot] and 19 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group