Programming


Posted by shroman

What is P4A ?


Who need a stateful web application development framework?

 

How to run a single query like update or insert?

$db2 =& p4a_db::singleton();
$db2->query("UPDATE ID_PASUT set B_tame_izr_rekins = 1 where rekins_id=".$this->fields->uid_rekinis->getValue());


Posted by shroman

Build libpq.dll and libpqdll.lib interface libraries.

Get postgresql sources .tar.gz

Extract archive into e.g.: E:\PGPROG\postgresql-8.1.3

Run VS.NET command prompt

Change working directory src of the extracted source tree

cd E:\PGPROG\postgresql-8.1.3\src

Run win32 make file:

nmake.exe /f win32.mak