[PHP-DB] getting the value of a javascript variable

2002-06-22 Thread Hermann Otteneder
hi everybody, i have a short problem: i have two drop down menues in a form. the content of the second dropdown is dependent from the selection in the first dropdown menue. now i want write a short javascript which runs on the onSelect - event of the first dropdown. this script gives me the selec

[PHP-DB] error_reporting = off dont works!?

2002-06-13 Thread Hermann Otteneder
hi, I've following system: apache 2.0.36 on a w2k server with PHP/4.2.1 as a module. I configured the php.ini in this way: error_reporting = E_ALL & ~E_NOTICE to avoid php displaying warnings and notices. ( of course I restartet the apache service ). But I got even so warnings and notices displaye

[PHP-DB] how can i get field-informationof a table?

2002-05-24 Thread Hermann Otteneder
hi, i'm using a mssql-database. now i want update a record with the information given in a form. i want use the following sql statement: $SQL = "update set '' = 'HTTP_POST_VARS[$index]' WHERE PKID = 'HTTP_POST_VARS[0]'"; mssql_query($SQL); my problem is i cannot find a function which gives me an

[PHP-DB] get no extensions under php 4.2.1,IIS-5,W2k -> as CGI configured...

2002-05-16 Thread Hermann Otteneder
hi, I had troubles with php 4.2.1 under IIS-5 on W2K as a SAPI module. Now I configured this as a cgi version. And now no function (mssql_*) - call shows effect! (path is correctly set and php_mssql.dll is uncommented in the php.ini). the scripts ends simple on the first mssql_* function-call! No

[PHP-DB] IIS - hangs up after one hour

2002-05-13 Thread Hermann Otteneder
hi, i've iis 5 on a win2000 server with php4 version 4.2.0. this works for roughly one hour. after this time iis hangs up - i don't know why!? i additionally use a mssql database on a second server - this works also properly for one hour! knows onyone this problem or even a solution? the permissi

[PHP-DB] Re: troubles with select * from... to a ms-sql-server

2002-04-25 Thread Hermann Otteneder
TED]... > Have you tried removing the [] brackets? And what is ReferencesComplete - a > standard table, a view or a stored procedure? > > Ollie > > -Original Message- > From: Hermann Otteneder [mailto:[EMAIL PROTECTED]] > Sent: 17 April 2002 16:30 > To: [EMAI

[PHP-DB] troubles with select * from... to a ms-sql-server

2002-04-18 Thread Hermann Otteneder
hi, i try to get some data from our ms-sql-server the following statement: $SQL = "SELECT * FROM [ReferencesComplete]"; causes an error of the php.exe! i tried many various of this statement but nothing helped. ether it came no error and the [$result = mssql_query($SQL,$IDconnection);] variab

[PHP-DB] php.exe crash

2002-04-17 Thread Hermann Otteneder
hi, is here anyone how haves a solution for following problem: $SQL = "select * from [ReferencesComplete]"; $result = mssql_query($SQL,$IDconnection); // this simple code let crash the php.exe... i've with a mysql no problems with this code but with MS-SQL comes this error!! i hope someone has