I am struggling with my script and since switching to mysqli it will no longer work.I have checked the PHP manual but just cannot see what I am doing wrong, surely a beginne
You are missing your resource identifier obtained with mysqli_connect() which is required with mysqli_* and not with mysql_*. Assuming you called yours $link:
$result = mysqli_query($link, "SELECT * FROM gear") or die(mysqli_error($link));