shadowrider 0 Newbie Poster

how may i create stored function in phpmyadmin
simple one is create but one i try to use a variable in function it is mysql manual error.
can anyone help me.