in my code the for loop syntax is not rigt can any one tell me
for($i=0; $i<$count; i++)
{
if($i==0)
{
$txt.="product:Licence_key";
}
$txt.=$product[$i]." :".$plicense_key[$i];
}
in my code the for loop syntax is not rigt can any one tell me
for($i=0; $i<$count; i++)
{
if($i==0)
{
$txt.="product:Licence_key";
}
$txt.=$product[$i]." :".$plicense_key[$i];
}
i++ should be $i++
i++ should be $i++
thanks for giving answer.
I know this thread is marked as solved, but why are you using a loop at all? The loop will only ever execute once.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.