Try This...
for($i=1; $i<=35; $i++)
{
$sVarName = "link$i";
if(empty($$sVarName))
{
//Do Something
}
else
{
//Do Something Else using $$sVarName...
}
}
-Jason Garber
deltacron.com
At 01:42 PM 9/25/2001 -0400, Jordan Elver wrote:
>Hi,
>I'm feeling a
for ($i=1;$i<36;$i++){
if (${"link".$i}){
//it's real
}else{
// none
}
}
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From: "Jordan Elver" <[EMAIL PROTECTED]>
To: "PHP General Mailing List" <[EMAIL PROTECTED]>
Sent:
2 matches
Mail list logo