I've been searching for too long now, What's the delimiter used by PhpMyAdmin when creating procedures. I've tried common ones like ;; // $ $$ and a few others, it will not accept multi-statement ones. Alec