Log in

View Full Version : paypal problem



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

Nile
12-29-2008, 01:40 AM
From what I know, it is possible.