Hello, thanks for reading this - maybe you can help....
Below is that part of source code which produces warnings from PostgreSQL which look like this:
"Warning: PostgresSQL query failed: in /home/httpd/html/new/archive/base/result.php3 on line 33".

Code:

21#if ($slogic="and")
22#{
23#$result = pg_Exec ($database,
24#"SELECT dtype, razdel, signdate, number, header, signed, control, filename
25# FROM decision
26# WHERE decision.signdate >= '%$datefrom%'
27# AND decision.signdate <= '%$dateto%'
28# AND decision.doctype = '%$fdoctype%'
29# AND decision.razdel = '%$frazdel%'
31# AND decision.header 32#LIKE "%'$fhdtext1'%"
33# ORDER BY decision.number DESC;");
34#}

What's wrong at line 33? Please, help!

------------------
Sincerely yours,
=Thistle=