You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mysql_select_db('bookstore', $link) or die('database selection failed: ' . mysql_error());
$result = mysql_query("select categories.name as category_name, items.name as book_name from categories, items where categories.category_id = items.category_id and items.item_id=5") or die('table query failed: ' . mysql_error());