Page 1 of 1

submited data on $_POST, but not in $params

Posted: Fri Apr 27, 2007 1:38 pm
by kazkas
I made a form in admin area, like I did about 100 times, but this time there's something wrong. print_r after submiting form:
$params:
Array
(
    [action] => defaultadmin
)
$_POST:
Array
(
    [mact] => Business,136,defaultadmin,0
    [136l1] =>
    [136l2] =>
    [136id1] => 136
    [136adtype] => B
    [136name] => Test21
    [136phone] => 01952 xxxxxx or 0195
    [136select1] => 56
    [136until] => 27/05/2007
    [136submit3] => Submit Edited Ad
)

Maybe someone knows where the problem is?

Re: submited data on $_POST, but not in $params

Posted: Mon May 28, 2007 1:31 pm
by Sonya
Hello,

you have to use $smarty->params instead of $params.

sonya