Hi Forum,
Here's a problem I stuck with that.......I am using post method to get data..........but I want to change the my input names like this....
PHP Code:
for($i=1; $i<=$_POST['rows_num']; $i++) { $x = "plat_val".$i; //print $x; $platinum[$i] = $_POST['$x'];
In the above code I want to get the value of my plat_val1....to...12 into $platinum[$i] so what I am trying to get this name in $x and using it with $_POST.....but it shows nothing.....that means I mistook somewhere.....
Please help me to sort this out.....
Your suggestions would be appreciated.
Last edited by Isabella_Smith; 04-22-2010 at 07:20 AM..
|