If possible use CodeIgniter's standard URL routes.
In your case:
$route['basketball'] = "controller/product/7";
function product()
{
}
OR if $_GET['id'] needs to be dynamic
$route['basketball/:num'] = "controller/product";
function product($id)
{
}
Hope that helps.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…