On Sep 12, 2008, at 9:21 AM, Jason Pruim wrote:


On Sep 12, 2008, at 8:53 AM, Nathan Rixham wrote:

Jason Pruim wrote:

nothing obvious to me.. so debug more!

<?PHP

  function notify_email($Record, $salesRepID) {
        echo "in notify_email" . PHP_EOL;
      require("defaults.php");
        echo "already loaded and required defaults loaded" . PHP_EOL;
      require("func.sendemail.php");
        echo "require func.sendemail.php loaded" . PHP_EOL;
      require("dbmysqliconnect.php");
        echo "already loaded and required dbmysqliconnect loaded" . PHP_EOL;

will tell you where it's breaking I'd assume..

Okay, when I had that in the notify_email.php file it looked like it all loaded just fine... the echo's were displayed.

When I put that in my process.php file I got this output:
already loaded and required defaults loaded Just before send_email functionjust after send_email funtion
require func.sendemail.php loaded
already loaded and required dbmysqliconnect loaded
execute error Duplicate entry '0' for key 1

So I think Jochem might be right... Problem with mysqli?

Okay scratch that... I was attempting to update the auto_increment field so when I changed that, it got rid of the error but didn't fix the problem :)





--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
11287 James St
Holland, MI 49424
www.raoset.com
[EMAIL PROTECTED]





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
11287 James St
Holland, MI 49424
www.raoset.com
[EMAIL PROTECTED]





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to