Get ready for BLACK FRIDAY shopping starting in

Forums

PHP

This topic is locked

Are there cons to this form technique?

Posted 26 Feb 2008 23:10:28
1
has voted
26 Feb 2008 23:10:28 carlos warner posted:
Please tell me any cons to this technique? It seems really intuitive and fast for the user. Instead of selecting an item from a list and then creating 1 update form...I just give every line item it's own update form. I use this to update a menu.

In page source....it will end up looking like this after the php is converted to html obviously.

<form action='#' method='get'>
<input type='submit' name= 'Submit' value=0 />
</form>

<form action='#' method='get'>
<input type='submit' name= 'Submit' value=0 />
</form>

<form action='#' method='get'>
<input type='submit' name= 'Submit' value=0 />
</form>


Replies

Replied 26 Feb 2008 23:14:01
26 Feb 2008 23:14:01 carlos warner replied:
I screwed up my page source example. The value for submit will change for each form.... sorry for the confusion.

<form action='#' method='get'>
<input type='submit' name= 'Submit' value=0 />
</form>

<form action='#' method='get'>
<input type='submit' name= 'Submit' value=1 />
</form>

<form action='#' method='get'>
<input type='submit' name= 'Submit' value=2 />
</form>

Reply to this topic