Erich93063 <erich93...@gmail.com> wrote:
> theHtml += '<li>' + areaRow.AreaName;
> 
> tx.executeSql('SELECT * FROM Restaurants WHERE AreaID = ?;',
> [areaRow.AreaID],
> function(transaction, restaurantsResult) {
> 
> theHtml = '<ul>';

Every time you enter the inner loop, you are wiping out previously accumulated 
string in theHtml.
-- 
Igor Tandetnik

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to