Greetings, I have php and mysql installed on my freebsd machine. I have a database iweb with tables employee and emp2. I need to walk table employee and see if emp2 has a record that matches by employee number. If it matches, I need to update some values in emp2. If there is no match, I need to create a new record in emp2 and load values. Is there a tutorial that shows how to do something this basic ? tips ? thanks, Darryl -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php