Ver originalvar availableTags = [<?php while($row = mysql_fetch_array($query)){ echo $row['nombre'];}?>];