618

PHP: multiple select

Browserul trimite requestul:-----------------------------POST /admin_sitepages_config.php?page=font%2Ftimesb.php HTTP/1.1Host: dciobanu.cdUser-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.11) Gecko/20070320 Firefox/1.5.0.11 Flock/0.7.12Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5Accept-Language: en-us,en;q=0.5Accept-Encoding: gzip,deflateAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7Keep-Alive: 300Connection: keep-aliveReferer: http://dciobanu.cd/admin_sitepages_config.php?page=font%2Ftimesb.phpCookie: PHPSESSID=10jjs8s46qfnmssnnhhi50d9fgclp3m5Content-Type: application/x-www-form-urlencodedContent-Length: 60selUsers=4&selUsers=26&txtDesc=This+is+a+test+3%21&Save=Save--------------HTML-ul:---------------------------
Configuration for font/timesb.php page.


---------------------------In PHP fac:var_dump($_POST);Iata rezultatul:array(3) { ["selUsers"]=> string(2) "27" ["txtDesc"]=> string(17) "This is a test 3!" ["Save"]=> string(4) "Save" }Din cite observati, selUsers este string de 2 caractere si nu array!Ce dracu fac gresit?!
0