justus Posted November 4, 2004 Report Share Posted November 4, 2004 mysql_query("UPDATE news SET titlle = '$_POST[titlle]' , text = '$_POST[msg]' , fulltext='$_POST[fullmsg]' , coments = '$_POST[coments]' WHERE id = '$_POST[id]'"); kas pa vainu sintaksee ? Link to comment Share on other sites More sharing options...
org.102 Posted November 4, 2004 Report Share Posted November 4, 2004 mysql_query("UPDATE news SET titlle = '$_POST[titlle]' , text = '$_POST[msg]' , fulltext='$_POST[fullmsg]' , coments = '$_POST[coments]' WHERE id = '$_POST[id]'"); 1)tas no post itkaa vajadzeetu post mainigos salikt pedinjas '' tjip $_POST['msg'] .utt un 2) masiivus tu taapat kaa mainigos nevari izvadiit. vai nu ieliec mysql_query("UPDATE news SET titlle = '{$_POST['titlle']}' , text = '{$_POST['msg']}' , fulltext='{$_POST['fullmsg']}' , coments = '{$_POST['coments']}' WHERE id = '{$_POST['id']}'"); vai mysql_query("UPDATE news SET titlle = '".$_POST['titlle']."' , text = '".$_POST['msg']."' , fulltext='".$_POST['fullmsg']."' , coments = '".$_POST['coments']."' WHERE id = '".$_POST['id']."'"); :ph34r: Link to comment Share on other sites More sharing options...
Recommended Posts