J
|
Jane 12/19/2007 |
Nick, |
N
|
nix386 author 12/19/2007 |
Nick, you can do it using dependent dropdown boxes with Ajax popup. Set up Suburb as master dropdown on the "Edit as" settings dialog on the Visual Editor and check off Lookup wizard as Edit box with AJAX popup option. Then setup Region and State as dependent from Suburb field dropdown boxes and check off the same option.
|
J
|
Jane 12/20/2007 |
Nick, global $conn; $str = "select * from _qldloc"; $rs = db_query($str,$conn); while ($data = db_fetch_array($rs)) { $strUpdate = "update TableName set region='".$data["region"]."',state='".$data["state"]."' where suburb='".$data["suburb"]."' or postcode=".$data["postcode"]; db_exec($strUpdate,$conn); }
|