Jump to content

how to get values of form object having same name


pisean282311

Recommended Posts

hi!!

well suppose i hv text box by name of quantity which is iterated 10 times using an array.
<?php

for($i=0;$i<10;$i++){
print("<input type=\"text\" name=\"quantity\" ");
}
?>
now this text will have ten differnet values.how would i be able to get these values.in jsp there is method by name of getParameterValues("") which returns array.do we have something similar in php? kindly help.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.