Hey,

I keep getting an error with this select query:-

PHP Code:
            $catsql "SELECT 
            tbl_categories.cat_id, tbl_categories.cat_name, tbl_cat_selection.cat_id, tbl_cat_selection.selection_id 
            FROM tbl_categories, tbl_cat_selection
            WHERE tbl_categories.cat_id = tbl_cat_selection.cat_id 
            AND tbl_categories.selection_id = "
.$_GET['sel_id']."";
            
            
$result mysql_query($catsql) or mysql_error();
                        
            
$row mysql_fetch_array($result); 
the error is:-

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /domains/ringspun.co.uk/http/mens-admin/edit-mens.php on line 398