Error message

  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1895 of /home/rstlv/public_html/admin.alfalinks.lv/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1895 of /home/rstlv/public_html/admin.alfalinks.lv/includes/database/query.inc).
  • Warning: Invalid argument supplied for foreach() in nitobe_css_reorder() (line 90 of /home/rstlv/public_html/admin.alfalinks.lv/sites/all/themes/nitobe2/nitobe_960.inc).
  • Warning: Invalid argument supplied for foreach() in nitobe_css_reorder() (line 90 of /home/rstlv/public_html/admin.alfalinks.lv/sites/all/themes/nitobe2/nitobe_960.inc).
  • Warning: uasort(): Array was modified by the user comparison function in drupal_get_css() (line 2930 of /home/rstlv/public_html/admin.alfalinks.lv/includes/common.inc).
  • Warning: ksort() expects parameter 1 to be array, null given in drupal_group_css() (line 3048 of /home/rstlv/public_html/admin.alfalinks.lv/includes/common.inc).
  • Warning: ksort() expects parameter 1 to be array, null given in drupal_group_css() (line 3048 of /home/rstlv/public_html/admin.alfalinks.lv/includes/common.inc).
  • Warning: ksort() expects parameter 1 to be array, null given in drupal_group_css() (line 3048 of /home/rstlv/public_html/admin.alfalinks.lv/includes/common.inc).
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