I have a mysql table (a picture is attached) that has a column responsible for pSkill , in this column there are always 6 values in each row, I tried this code, but it did not work, output only the number I write in $mas[0] , that is, there where there is $mas[0] it gives out only 0%, and where $mas[3] , it gives out only 3% and so on to five.
$row['pSkills'] = '0,1,2,3,4,5'; $mas = explode(',',$row['pSkills']); $table .= "<tr>"; $table .= "<td>Pistol</td>"; $table .= "<td>".$mas[0]." %</td>"; $table .= "</tr>"; Tell me, what am I doing wrong?

var_dump($row['pSkills']);what shows? The result is in response. File encoding andhtmlencoding? - doox911 7:57 pmvar_dump($row['pSkills'])outputvar_dump($row['pSkills'])? - doox911 8:04 pm$rowvariable. - doox911 pm