Multiple foreign keys in phpmyadmin
<p>I am trying to add 2 forign keys in a table but when I make 2nd forien key it gives error like:</p>
<blockquote>
<h1>1452 - Cannot add or update a child row: a foreign key constraint fails (<code>foodsuggestion</code>.<code>#sql-b54_1b</code>, CONSTRAINT <code>#sql-b54_1b_ibfk_1</code> FOREIGN KEY (<code>Res_id</code>) REFERENCES <code>restaurant</code> (<code>Res_id</code>))</h1>
</blockquote>