php - what does name="data[user][pass] in input tag means? -


i found inside input tag of website:

... name="data[user][pass]" ... 

what mean? how can make php in tag attribute? , how can read this?

if present in <input> tag , when corresponding form gets submitted php script can accessed like:

$_get['data']['user']['pass']; // or $_post['data']['user']['pass']; 

depending on request method.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -