[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

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

2002-06-14 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

[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 tablename set 'fieldarray[$index]' = 'HTTP_POST_VARS[$index]' WHERE PKID = 'HTTP_POST_VARS[0]'; mssql_query($SQL); my problem is i cannot find a

[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!

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

2002-04-25 Thread Hermann Otteneder
ou 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: [EMAIL PROTECTED] Subject: troubles with select * from... to

[PHP-DB] php.exe crash

2002-04-18 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

[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);]