Reply to delete statement problem

Your name:

Reply:


Posted by Ian Davies on 06/07/06 21:49

I am using a simple delete statement in my php script (below)

$q = "DELETE FROM commenttype WHERE TypeID=".$_POST['selectcat'];

the problem is it doesnt delete the whole row it only deletes the text in
one of the fields of the row. Has anyone else had a similar problem?
It works when I run the sql directly from a program such as mysqlphp

ian

[Back to original 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

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