Database set search_path to the schema with function

This commit is contained in:
Dany De Bontridder 2010-04-12 15:00:52 +00:00
parent ae93b5e010
commit aef684fa1a
7 changed files with 508 additions and 28 deletions

View file

@ -51,14 +51,14 @@ if ( isset($_POST['central']) ) {
$bal->central='Y';
$t_cent="centralisée";
}
else
else
$bal->central='N';
$bal->jrn=$_POST['p_jrn'];
$bal->from_poste=$_POST['from_poste'];
$bal->to_poste=$_POST['to_poste'];
$bal->jrn=$_POST['p_jrn'];
$bal->from_poste=$_POST['from_poste'];
$bal->to_poste=$_POST['to_poste'];
$row=$bal->get_row($_POST['from_periode'],
$_POST['to_periode']);
$row=$bal->get_row($_POST['from_periode'],
$_POST['to_periode']);
foreach ($row as $r) {
echo $r['poste'].';'.