A slight problem with looping
Posted: Mon Sep 19, 2005 12:34 pm
okay..here is what I got so far.. I'm stuck on the idea..
I want to make a unique variable name based off of the variable key, i.e. $keye="the error message" but obviously if i type in $keye that would literally make it $keye i'd rather want to make the variable name the name of the key with e tacked onto the end and well... that's stumping my brain...I tried searching for some info but I can't find the words appearantly.
Code: Select all
foreach ($_POST as $key=>$value)
{
if ($name!='Register')
{
if ($value=='')
{