I've an array ... This is the code
$sql = "SELECT * FROM BAY_Info WHERE BAY_Info.ContID = 2 LIMIT 1";
$result = mysql_query($sql);
$data = array();
while($row = mysql_fetch_assoc($result))
$data = $row;
$title = $data['Title'];
Problem is $title isn't pulling anything back, and it "should" I've got a simlar statement working upon another site and this is in exactly the same context.
Can anyone shed any light into why the "$title" isn't returning any data. the var is completely blank
Any help would be highly appreciated.