The reason this doesn't work is because varaibles aren't replaced in single quoted strings.
Therefore this works:
if ($POST_['skill_lvl'.$a] != 'none'){
Double quotes are also fine for the array.
Single quoted strings are often times more efficient. Though in your case a double quoted array indice would be ok.
The reason that single quotes are more efficient is because the string parsing algorithm is less complicated, variables and special characters aren't replaced in single strings. By special characters I mean the newline character \n, or the tab character \t, or other such characters. These are the literal string when included in a single quoted string instead of a special character. Whereas when included in double quoted strings these are interpretted as special characters and variables are replaced with their respective values.
Because the string parsing algorithm is less complicated, that means less processing power is required, which makes the script more efficient.
http://www.php.net/manual/en/language.types.string.php
Regards,
Rich
::::::::::::::::::::::::::::::::::::::::::
The Spicy Peanut Project
http://www.spicypeanut.net
::::::::::::::::::::::::::::::::::::::::::