You are here: Re: Question about forms « All PHP « IT news, forums, messages
Re: Question about forms

Posted by Hilarion on 07/19/05 21:32

> Or you can change the name of the submit button variable, but it gets a
> little harder to find.

One could try (assuming row ID is equal to 4):

<input type="submit" name="delete[4]" value="Delete" />

This way you will be able to find deleted ID by checking key
in $_POST['delete'] or $_GET['delete'] (using "key" function)
without having to show the ID on the button or having to
look which variable is set by names.


Hilarion

 

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

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