Data not showing after importing the sql table into new computer

     

I just exported an sql file containing 2 rows because I need to transfer it to a new computer and continue it after successfully importing the sql files in the new computer the table in my database is not showing when i try to run my homepage and it just gets this error.


0){ echo ""; echo ""; echo ""; while($row=mysqli_fetch_array($result)){ echo "  "; echo "  "; echo ""News""; echo "  "; echo "  {$row["title"]}  "; echo "  {$row["caption"]}
"; echo "  "; echo "Read More"; echo "
"; echo "  "; echo "  "; echo "  "; } echo "  "; // Free result set mysqli_free_result($result); } else{ echo "No records matching your query were found."; } } else{ echo "ERROR: Could not able to execute $sql. " . mysqli_error($link); } // Close connection mysqli_close($link); ?>  

It's working fine in my old computer when I checked it.