By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,949 Members | 1,827 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,949 IT Pros & Developers. It's quick & easy.

print the loop value

P: 45
Hi
i got the array values from the html page using foreach. In this i can get multiple array values to print in the table.

the values are

Date Forward Process

12/9/8008 5 3
15/09/2008 7 4


For Date I am using this

Expand|Select|Wrap|Line Numbers
  1. foreach ($_POST['CreatedDate'] as $key => $value) {
  2.     echo $value;
  3.      }
  4. the same as i use  forward and Process 
  5.  
  6. foreach ($_POST['forward'] as $key => $value) {
  7.  echo $value;
  8.      }
  9. foreach ($_POST['Process'] as $key => $value) {
  10.  echo $value;
  11.      }
how can i print this values for the above table format. i am tried to print but i got the three values are one by one.

anyone help to solve this issue

Thanks and regards,
Geethu.
Oct 15 '08 #1
Share this Question
Share on Google+
2 Replies


Markus
Expert 5K+
P: 6,050
Geethu, you have been posting long enough to know that you use code tags when posting code. Please do not break from trend (I've seen you use code tags before).

And to your question, I'm finding it hard to understand. Could you maybe be a bit clearer?

Thanks.
Oct 15 '08 #2

P: 45
Geethu, you have been posting long enough to know that you use code tags when posting code. Please do not break from trend (I've seen you use code tags before).

And to your question, I'm finding it hard to understand. Could you maybe be a bit clearer?

Thanks.
i want to print the loop values in table format. In first row i want to print the date and forward in the last row process.

how can i do it

Thanks
Oct 15 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.