I am doing this for an IT project, and I am not that experienced in using my SQL I am trying to run a query and this is the error that I keep on getting.
Fatal error: Call to undefined function msql_fetch_assoc() in C:\xampp\htdocs\my_test\index2.php on line 8
if ($query_run = mysql_query($query)){
while($query_row = msql_fetch_assoc($query_run)) {
Above is a snippet of my code I have looked for this error and I cant seem to identify it. Please help me.