Re: [PHP] Problem with function

2008-09-12 Thread Brady Mitchell
On Sep 12, 2008, at 544AM, Jochem Maas wrote: the current error_reporting/display_errors settings. and learn about error_log() and how to 'tail' the error log (fuck knows how you go about that on windows ... then there are reasons I have a Mac ;-)) The ability to tail error logs is one of t

Re: [PHP] Problem with function

2008-09-12 Thread Jochem Maas
Jason Pruim schreef: my guess is you never reach this line. I don't think notify_email() is called, find out what is dying before you get to this line. note you'll get 'echo '10';' before you get 'echo '1';' notify_email($Record, $salesRepID); $stmt = mysqli_stmt_init($link);

Re: [PHP] Problem with function

2008-09-12 Thread Jason Pruim
On Sep 12, 2008, at 8:44 AM, Jochem Maas wrote: Jason Pruim schreef: So, I am fighting with a problem function... I have used this function on a previous project and it worked just fine, so I'm not sure what changed... The only difference is that on this site, I'm using mod_rewrite to wri

Re: [PHP] Problem with function

2008-09-12 Thread Jochem Maas
Jason Pruim schreef: So, I am fighting with a problem function... I have used this function on a previous project and it worked just fine, so I'm not sure what changed... The only difference is that on this site, I'm using mod_rewrite to write all non-existent folder requests into a php file

[PHP] Problem with function

2008-09-12 Thread Jason Pruim
So, I am fighting with a problem function... I have used this function on a previous project and it worked just fine, so I'm not sure what changed... The only difference is that on this site, I'm using mod_rewrite to write all non-existent folder requests into a php file to process what t

Re: [PHP] Problem with function declaration in include files

2002-01-04 Thread Bobby
I wish it was that simple, I have already added debug 'echo' statements to make sure the included file is being included correctly and it is? This problem really has me beat, I never usually send out desperate pleas, but I am not a happy bunny atm. Any thoughts would be appreciated Cheers

Re: [PHP] Problem with function declaration in include files

2002-01-04 Thread Dennis Moore
The problem is most likely with your include statement.  The include path imay be incorrect...        "Bobby" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...> I have been using the following function declaration syntax for ages with no> problems.> > Main p

[PHP] Problem with function declaration in include files

2002-01-04 Thread Bobby
I have been using the following function declaration syntax for ages with no problems. Main php file: Include file: } ... http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROT

Re: [PHP] problem with function array_* that preserved the key

2001-11-14 Thread Papp Gyozo
no matter what those keys are. hth - Original Message - From: "Stig Venaas" <[EMAIL PROTECTED]> To: "Reuben D Budiardja" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, November 14, 2001 9:49 AM Subject: Re: [PHP] prob

Re: [PHP] problem with function array_* that preserved the key

2001-11-14 Thread Stig Venaas
On Sat, Nov 03, 2001 at 03:54:23PM -0500, Reuben D Budiardja wrote: > since the key are preserved, arrC is no longer indexed from 0. Well, in most > cases I don't care about the key if it's just indexed array. But since the > key I preserved, I can no longer do > > for($i=0; $i echo $arrC[$i]

[PHP] problem with function array_* that preserved the key

2001-11-03 Thread Reuben D Budiardja
Hi, I have problem with array function that return an array and preserved the key of the array argument. Take example of array_diff: I have 2 arrays that has index 0,1,2, ... as the key, and use it as the argument, say $arrA, and $arrB, $arrC = array_diff($arrA, $arrB); since the key are pres