You probably need a JOIN or nested select statement. Maybe:
UPDATE tbl_horses INNER JOIN tbl_horses_sires
ON tbl_horses.horse_name = tbl_horses_sires.sire
SET tbl_horses.sireid = tbl_horses_sires.horse_id
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.