Let p be an odd prime. For \(b,c\in {\mathbb {Z}}\) , we study the Legendre symbol \(\big (\frac{D_p^*(b,c)}{p}\big )\) , where \(D_p^*(b,c)\) denotes the determinant of the matrix \([(i^2+bij+cj^2)^{p-3}]_{1\le i,j\le p-1}\) . For example, we prove that if \(p\equiv 2\ (\mathrm{{mod}}\ 3)\) then \(\begin{aligned} D_p^*(1,1)\equiv \det \left[ \frac{1}{(i^2+ij+j^2)^2}\right] _{1\le i,j\le p-1}\equiv -x^2\ (\mathrm{{mod}}\ p) \end{aligned}\) for some integer \(x\not \equiv 0\ (\mathrm{{mod}}\ p)\) . We also show that \(\begin{aligned} \left( \frac{D_p^*(2,2)}{p}\right) =\left( \frac{p}{3}\right) (-1)^{(p+1)/8} \end{aligned}\) if \(p\equiv 7\ (\mathrm{{mod}}\ 8)\) .