RE: [PHP] Re: Query Query

2004-05-30 Thread Mark Charette
> From: Khan [mailto:[EMAIL PROTECTED] > you have 'company_name' in SET and then again in WHERE. This looks fishy. Very common, often required, and perfectly legal. Mark C. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Query Query

2004-05-30 Thread Johan Holst Nielsen
The Digital E wrote: $query="UPDATE $table_name SET company_name='$company', first_name='$first_name', last_name='$last_name', address='$address', city='$city', state_province='$state', postal_code='$postal', office_phone='$office', fax_phone='$fax', email='$email' WHERE company_name='$mod_data

[PHP] Re: Query Query

2004-05-30 Thread Khan
The Digital E wrote: This may be better suited to the MySQL lists, but I'd appreciate it if someone could help. I'm probably just missing something stupid here but have been coding non-stop for a week and need another set of eyes. Here's the line of code giving me an issue. I can print all the