Re: [PHP-DB] nysql_query confusing selects for inserts?

2002-01-03 Thread Ken Kinder
How are you building the SELECT statement. I would have thought it'd be: > $query = "select lead.lead_id, lead.firstname, lead.lastname, > lead_support_1.plusfour from lead left join lead_support_1 on > lead.lead_support_id = lead_support_1_id" > > -Original Me

Re: [PHP-DB] nysql_query confusing selects for inserts?

2002-01-03 Thread Ken Kinder
one log string. > > -Original Message- > From: Ken Kinder [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 03, 2002 12:33 PM > To: Rick Emery; [EMAIL PROTECTED] > Subject: Re: [PHP-DB] nysql_query confusing selects for inserts? > > > Yes, I copied it verbatium and copie

Re: [PHP-DB] nysql_query confusing selects for inserts?

2002-01-03 Thread Ken Kinder
lead_support_1.plusfour > from > lead > left join lead_support_1 on lead.lead_support_id = lead_support_1_id > > But rather, it was in one log string. > > -Original Message- > From: Ken Kinder [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 03, 2002 1

Re: [PHP-DB] nysql_query confusing selects for inserts?

2002-01-03 Thread Ken Kinder
cause you typed it into the MYSQL command line, > then it must be correct? > > -Original Message- > From: Ken Kinder [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 03, 2002 12:08 PM > To: [EMAIL PROTECTED] > Subject: [PHP-DB] nysql_query confusing selects for in

[PHP-DB] nysql_query confusing selects for inserts?

2002-01-03 Thread Ken Kinder
This is extremely annoying. For some reason, mysql_query seems to be confusing my left join for an insert or update. The reason being, that the query runs fine, but the result isn't usable. Here's the example code. Table definitions are below if that helps. $err = 0; // $result = mysql_query("