You are here: mysql DELETE syntax on 3.23.58 « PHP SQL « IT news, forums, messages
mysql DELETE syntax on 3.23.58

Posted by Mark D. Smith on 04/23/06 19:42

Hi

i can INSERT and UPDATE but DELETE is not working

$sql = "DELETE FROM table WHERE ID='$ID'";
$sql_result = mysql_query($sql,$connection) or die ("Couldn't execute Delete
of row $ID.");

$ID is the primary key and i want to delete the entire row based on the
users selection.

Mark

 

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

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