Hello.
I am working on a search function that returns contact information from a database containing 27 columns per row.
the printf() function happens inside a while() loop, and is supposed to output a mixture of mysql_fetch_row array elements and html code.
example: printf("<p> $conatct[0] <br> $contact[1] <br> <a href=$contact[2]> $contact[2] </a> </p>");
the above works fine as long as i keep the number of varaibles under 10. once i go over 10 varialbes in the printf string, i get a parse error about php expecting T_STRING or T_VARIABLE, etc.
this happens even when i strip out all characters from the printf() string except the variable names themselves.
what the? i'm baffled and haven't been able to locate any documentation in the manual or elsewhere on this...
thank you, fellow phpers.
-dolphinsnot