You are here: Re: QUERY AND UPDATE PROBLEM « PHP Programming Language « IT news, forums, messages
Re: QUERY AND UPDATE PROBLEM

Posted by Lag on 02/24/06 04:54

This is the ouput for......

$query = "UPDATE calendar_events SET event_title = '" . $title . "',";

$query .= "event_start = " . $date . ", event_shortdesc = '".$desc."'";

$query .= " WHERE id = ". $event;


test2 2006-02-23 01:00:00 testYou have an error in your SQL syntax.
Check the manual that corresponds to your MySQL server version for the
right syntax to use near '01:00:00, event_shortdesc = 'test' WHERE id
=' at line 1

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация