echo "<div id = 'statia'><div id = 'img'><img src = $record['img']></div><div id = 'title'>$record['title']</div><div id = 'text'></div></div>";
Выдает такую ошибку:
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in ... on line 38