function updateDemo($demoTitle, $desc, $keyword, $linkTitle, $clientname,
$imageTitle, $adminName, $demoID) {
$query = "UPDATE demos SET demoTitle ='$demoTitle' , dmDesc = '$desc' ,
dmKey = '$keyword' , dmLink= '$linkTitle' ,
client='$clientname' , imageTitle = '$imageTitle' ,
userName = '$adminName' WHERE id = '$demoID'";
$result = mysql_query($query);
if($result) {
return 'yes';
}
}
It's not executing... saying the code has some fault...
Can anyone tell me what is the error in the code.