khatri
12-28-2008, 10:42 AM
Hi
can some one please tell , if this code is possible in php :
<?php
for($y=0;$y<hiddentext;$y++)
{
echo "<input type=\"hidden\" name=\"item_name_1\" value=\"classes\">";
echo "<input type=\"hidden\" name=\"amount_1\" id=\"45\">";
}
?>
where hiddenText is the value that i am getting from javascript from a function which finds out the number of checkbox clicked on the page.
Thanks
can some one please tell , if this code is possible in php :
<?php
for($y=0;$y<hiddentext;$y++)
{
echo "<input type=\"hidden\" name=\"item_name_1\" value=\"classes\">";
echo "<input type=\"hidden\" name=\"amount_1\" id=\"45\">";
}
?>
where hiddenText is the value that i am getting from javascript from a function which finds out the number of checkbox clicked on the page.
Thanks