You are here: Re: How to use iteration to rename $_POST variables? « All PHP « IT news, forums, messages
Re: How to use iteration to rename $_POST variables?

Posted by Joe on 02/15/06 23:08

FWIW, I finally found a partial solution. It took using the print_r
function to get my head around the way $_POST is built -- I know simple
stuff. Oh well.

Anyway, foreach just works once I used it properly.

<?php
foreach($_POST as $key => $value)
{
print ('<td>' . "$value" . '</td>');
}
?>
This is what I was looking for. Thanks for the suggestions and pointers
that led me to this. Cheers & all hail php.net/manual

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация