You have an array. There is no reason to use a variable variable here.
You can simply use $rowmine['has'.$mine]
instead!
Since you are probably a beginner: If you use variable variables you should always consider using an array instead. Variable variables are a great way to get unreadable spaghetti code.