I can not figure out why this is not working!

for ($j=0; $j<$resultNum; $j++) {
  $newvar = "finalresult".$a;
  $$newvar[$a][name]     = $resultRow[name];
  $$newvar[$a][title]    = $resultRow[title];
  $$newvar[$a][descript] = $resultRow[descript];
  $$newvar[$a][countkey] = substr_count("$resultRow[keywords]", "$keyword");
  a++;
}

This is how you use variable variables, is it not?  Is it because it's a
multidimensional array?  or am I missing something else?

Rick


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to