Sebastian Damm writes: > you're right, but if that was the problem, we should at least see the > second log line after the sql_query. $var(i) is used only after this. are you saying that sql_query() never returns? -- juha