[PHP] Array Question

2006-03-29 Thread cybermalandro cybermalandro
So, I have an array that looks like this rray(3) { [0]= array(8) { [line]= string(1) 1 [ponbr]= string(5) 34474 [emt]= string(3) yes [qty]= string(1) 5 [price]= string(2) 19 [shipdate]= string(8) 11/06/07 [tracking]= string(17)

[PHP] Re: Array Question

2006-03-29 Thread cybermalandro cybermalandro
array. Does this make sense? sorry I have difficulties with arrays still. thnx for your input On 3/29/06, M. Sokolewicz [EMAIL PROTECTED] wrote: cybermalandro cybermalandro wrote: So, I have an array that looks like this rray(3) { [0]= array(8) { [line]= string(1) 1

[PHP] Array Question again

2006-03-29 Thread cybermalandro cybermalandro
Let me try this again. I want to take an array that may look like this array(2) { [0]= array(8) { [line]= string(1) 1 [ponbr]= string(5) TEST1 [emt]= string(3) yes [qty]= string(1) 5 [price]= string(2) 19 [shipdate]= string(8) 12/04/06

[PHP] error message

2006-04-26 Thread cybermalandro cybermalandro
I have set in display_errors = off on my php.ini but I can still see ODBC related error messages when I try to duplicate an ODBC error. Am I missing something to turn this off? Thanks!

Re: [PHP] error message

2006-04-26 Thread cybermalandro cybermalandro
Yes, Yes and Yes although I am not running apache I am running IIS. On 4/26/06, Richard Lynch [EMAIL PROTECTED] wrote: On Wed, April 26, 2006 4:08 pm, cybermalandro cybermalandro wrote: I have set in display_errors = off on my php.ini but I can still see ODBC related error messages when I

Re: [PHP] error message

2006-04-27 Thread cybermalandro cybermalandro
) is being echo'd to stdout? Or you are using those fun Exception beasts? On 4/26/06, chris smith [EMAIL PROTECTED] wrote: On 4/27/06, cybermalandro cybermalandro [EMAIL PROTECTED] wrote: I have set in display_errors = off on my php.ini but I can still see ODBC related error messages when I

[PHP] PROGRESS SQL_CUR_USE_ODBC

2005-10-04 Thread cybermalandro cybermalandro
I am connecting to a PROGRESS DB through the MERANT ODBC driver, When I have the 4th parameter SQL_CUR_USE_ODBC as shown, my queries return nothing but if I have the 4th parameter as lower case it returns my query results but with a PHP error complainning *Notice*: Use of undefined constant

[PHP] arrays question

2005-11-11 Thread cybermalandro cybermalandro
I have this that looks like this array(3) { [0]= array(2) { [0]= string(1) 1 [1]= string(1) 2 } [1]= array(2) { [0]= string(3) 492 [1]= string(3) 211 } [2]= array(2) { [0]= string(2) 11 [1]= string(2) 20 } } I want to loop through

[PHP] another simple array question

2005-11-18 Thread cybermalandro cybermalandro
I have an array with indexes 0 to 4 and I want to delete an element of the array if the index is equals 4. I want to delete the variable key and value. What is the best way to do so? foreach ($values as $key = $val){ if ($key == 0) { // } if ($key == 3) { // } if ($key == 4) { //delete value