Hi All

Ive been struggling with one piece of code and hope someone can assist . I get the following error:
[error] [client] PHP Parse error: parse error in D:\\Apache2.2\\htdocs\\property_appr_dml.php on line 50, referer: http://*.*.*/sitedetails_view.php

line 50 in the file looks like this:
sql("update `sitedetails` set `property_stat` = 'Ready to Build' where `id` = $data['site_name']", $o);

Can anyone see any syntax problems?