Thread: Collecting table values into a variable

Collecting table values into a variable

From
MicazMAK
Date:
Hi
 
I am using my c based application using libpq to connect to postgresql. I have a table called light. I want to collect the values of the table light into a varible condition so that I can check this condition if(condition ==3) and do some operation depending on this operation.
 
Can someone guide me how this can be done.
 
Regards
MAK


Never miss an email again!
Yahoo! Toolbar
alerts you the instant new Mail arrives. Check it out.