Reply to Input name

Your name:

Reply:


Posted by Garry Jones on 04/16/06 15:59

Depending on certain other conditions I need to read in a specific input
name from a form.

This works...

$works=$_POST['realname'.];

But occasionally there is a value of x in this name that can be changed by
other conditions.

When processing the form I can not get this syntax right. I have tried these
variations.

$test1=$_POST['realname'.$x];
$test2=$_POST['realname' & $x];
$test3=$_POST["'realname' & $x"];
$test4=$_POST['realname$x'];
$test5=$_POST['realname'$x];
$test6=$_POST["'realname'" & "$x"];

Any ideas of the syntax when including a variable x in a $post input
reading?

Garry Jones
Sweden

[Back to original 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

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