listed below is code I am using to extract some data from a database.
while($row = mysqli_fetch_assoc($result))
{en
extract($row);
echo "<tr>\n
<td>$department</td>\n
<td>$1990</td>\n
I am using 1990 as a field name defined in the structure as a year. When I run the code the data shows the field name (1990) insted of the appropriate data in the field. I am new to coding and am having trouble understanding the problem Is using a number for the field name an issue. any help will be appreciated