Ok so now I made my first table! 
But can't figure out how to get the 4-5 last strikes to fill out the table 
in order....and that it updates the table as new strikes appears.
I use Sqlite and have these two observations in weewx.sdb, Lightning 
strikes and Avg distance

The very advanced code:

<div class="card" >
             <h1><i class="fas fa-bolt" style="color:#E00202" ><!-- m-grau 
--></i> Last strikes (<40km)</h1>
            <table>
            <tr>
               <th>Strike</th>
               <th>Distance</th>
               <th>Time</th>
            </tr>
             <tr> 
               <td>a</td>
               <td>b</td>
               <td>c</td>
            </tr>
            <tr> 
               <td>d</td>
               <td>e</td>
               <td>f</td>
            </tr>
            <tr> 
               <td>g</td>
               <td>h</td>
               <td>i</td>
            </tr>
            <tr> 
               <td>j</td>
               <td>k</td>
               <td>l</td>
            </tr>
            </table>
            </div>

Gives me this:

[image: Striketable.jpg]

So how could I get it populated with the numbers from my database file?

Mikael

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c049fdea-1b75-4bfa-8af3-46322bb0c40e%40googlegroups.com.

Reply via email to