Hey Stefan, interesting. Can you please make the if-clause in a separate line with curly braces? if ($columns_res) { .... } Also, can you point out when the warnings occur? -- greetings, benni. -SDG-