I have multiple variables like $soft0 , $soft1 , $soft2 , $soft3 , $soft4 , $soft5 and also like $fo0 , $fo1 , $fo2 , $fo3 , $fo4 , $fo5 but if i want to apply a if condition here then it showing error. Code:
for ($i=0; $i<=29; $i++) { $soft$i = str_replace(" ", "+", $fo$i); // this line showing an error $link_f_u = $html->find('h3', 0); $keyy = $link_f_u->plaintext; if ($soft$i==$keyy){ continue; } else { publish($soft$i); } } Any ideas to modify this code?