You are here: Re: I get a syntax error when trying to learn code in a quick start guide. « PHP SQL « IT news, forums, messages
Re: I get a syntax error when trying to learn code in a quick start guide.

Posted by J.O. Aho on 12/14/06 14:55

Sean wrote:
> You are missing the ID from the blog_id =
>
> Like
>
> DELETE FROM blog_entries WHERE blog_id = 7
>
> I don't think that you would LIMIT a deletion.

I would normally agree, but not all has id's as unique and may end up with
doublets (or more) of the same entry and may want to limit the deletion so
they don't delete all entries. I can't say how it's for the OP. :)

--

//Aho

 

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

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