[PHP-DB] javascript question

2004-03-08 Thread Gamze Baaran
Hi everyone; First of all I'm sorry maybe I musn't send this mail to this list but I think that someone can help me. Here is my problem: I use pear templates. In my html template file there is an javascript like this: function validateAll (objForm){ if (objForm.comp_prg.selectedIndex ==

Re: [PHP-DB] javascript question

2004-03-08 Thread jeffrey_n_Dyke
Gamze Baaran

Re: [PHP-DB] javascript question

2004-03-08 Thread Ignatius Reilly
Maybe you forgot a ?: Alert(?php echo $message ; ?); or ^^^ Ignatius _ - Original Message - From: Gamze Baaran [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 08, 2004 2:49 PM Subject: [PHP-DB] javascript question Hi everyone; First of all

[PHP-DB] javascript question

2004-03-08 Thread Gamze Baaran
When I use this it isn't work an there is error but can't see it with internet explorer. I can't catch it :( Alert('?php echo $message; ?'); or Alert('?php echo $message; ?'); -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] javascript question

2004-03-08 Thread Viorel Dragomir
alert('?=$message?'); // case sensitive - Original Message - From: Gamze Baaran [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 08, 2004 4:09 PM Subject: [PHP-DB] javascript question When I use this it isn't work an there is error but can't see it with internet explorer.

[PHP-DB] Uploads conspiracy or curiosity?

2004-03-08 Thread jeffreyb
I am puzzled. I have built a php script to upload a document to a directory and save the info in an MySQL table. I created a sample document in OpenOffice and saved it as a .doc file. When I access the page via an Opera browser, I can upload the file without problem. When I access the

[PHP-DB] PHP5B5 + Oracle9i + Apache1.3

2004-03-08 Thread php.net
Hallo I have a trouble with PHP5Beta4 + Oracle9i + Apache1.3. When I start Apache it fails with Error 1067: The process terminated unexpectelly. When I change PHP5Beta4 to PHP4.3.4 it works fine. Can you help me? Thanks, Josef -- PHP Database Mailing List (http://www.php.net/) To unsubscribe,

[PHP-DB] Group inner join results

2004-03-08 Thread Aleks @ USA.net
Hi all, I thought I saw the answer to this question on here but can not find the answer .. So, I am doing an inner join on 2 tables and displaying the result as follows: Code= table cellspacing=2 cellpadding=2 border=0 tr tdfont

[PHP-DB] Re: php-db Digest 8 Mar 2004 20:50:10 -0000 Issue 2294

2004-03-08 Thread Frank Flynn
Not a nested array, a simple 'if' statement... Something like: $Info = mysql_query(SELECT . $oldCat = ; while ($SRecord = mysql_fetch_array($Info, MYSQL_ASSOC)) { If $oldCat != $SRecord[ProdCategory] { /* Print your special Header row */ echo TRTDCategory = $Category /TD/TR; }

RE: [PHP-DB] Re: php-db Digest 8 Mar 2004 20:50:10 -0000 Issue 2294

2004-03-08 Thread Aleks @ USA.net
HI Frank, Thank you for the suggestion.. I think I see where you are going with this... However, how do I update the $oldCat with the last ProdCategory printed so that It will print the next new Category found in the while statement.?? -Original Message- From: Frank Flynn [mailto:[EMAIL

[PHP-DB] MS-SQL server connection

2004-03-08 Thread Rafi Sheikh
I am trying to create a connection w' MS-SQL Server to use with php. I have the server name (on our LAN) and my UID PWD (work via MS-ODBC driver for Access db). However my php is failing to bring any data back (unknown host). Any suggestions if I am missing any parms? [I am a newbie so plz

Re: [PHP-DB] MS-SQL server connection

2004-03-08 Thread Frank M. Kromann
Hi Rafi, You need to install (and configure) the SQL Server Client tools. The important part here is the 'Client Network Utility' where you create aliases for host names, protocols and other options. The default setting for both the SQL server and the client is (in most cases) to use named pipes

[PHP-DB] Re: Using results for next query

2004-03-08 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Hi People, Am needing a little help on the following scenario. Selecting user_id from one table for all entries that match the required criteria. Now I want to use the user_id's that are returned by the previous query in