thanks for our quick reply i have done a mysql query to fetch all table fields
Code:
$results=$vbulletin->db->query_read("SELECT * FROM cm_squads WHERE squad_id='$squad_id'");
$row = $vbulletin->db->fetch_array($results)
i then set_existing($row) and get an error $row is not an array can you see any errors this is really bugging me if i echo $row it prints ARRAY
--------------- Added [DATE]1201981807[/DATE] at [TIME]1201981807[/TIME] ---------------
got it sorted anyone who is interested i done
PHP Code:
$row=array("IDFIELD" => $idvalue);
$dm->set_existing($row);