Reply to Re: QUERY AND UPDATE PROBLEM

Your name:

Reply:


Posted by samudasu on 02/27/06 09:43

Think about this. If you click on your link
"<a href="update.php?id=<? echo $id; ?>">Update Event?</a>", the only
thing passed to update.php will be the id. You can't do an update with
an id alone. The same thing goes for the form. The values "title",
"datetime", and "desc" are passed to update.php but id isn't unless you
specify a hidden field in your form with the value of id.

<input type="hidden" name="id" value="<? echo $id; ?>" />

[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

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