what happened to this sql query? he cries at NOW(): (
NOW()
("INSERT INTO " . PREFIX . "messages (from, to, title, message, date) VALUES (" . $from . ", " . $to . ", " . $subject . ", " . $message . ", NOW())");
Are you using MySQL or Microsoft SQL Server? NOW () does not work in SQL Server; instead, use GETDATE ().
Maybe using the current timestamp would be a better idea, I don't know, just enter timestamp in mysql, you will find it in google
Source: https://habr.com/ru/post/1734429/More articles:Filtering log4net to exception message? - filterHow does javascript / css reload in symfony? - javascriptHow to convert existing JavaScriptObject to java primitive type in GWT? - gwtSpecial tools and plugins Visual Studio - designhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1734428/suggest-good-addins-tools-for-visual-studio-netall-the-versions-2005-2008-etc&usg=ALkJrhhE28N--OYcunETiCdmojquU6tNoAType lifetime - javaWhat is the design template? - oopIs it possible to put a combo box (drop-down list) in MS Access MsgBox? - drop-down-menuWhy am I getting duplicate exception records using ELMAH in ASP.NET MVC? - asp.net-mvcHelp comparing rake dependencies - c ++All Articles