Hi, I've been trying to search for this but don't seem to figure it out.
My problem, is that i have an excel document with 150 rows which i would like to be inserted into a special HTML-format. It pretty much looks like below. This code should be generated for each row in the excel sheet, and then inputted as a separate .txt-format:
The option is to manually copy every cell into this, which wouldn't be preferred. Really appreciate any help.
My problem, is that i have an excel document with 150 rows which i would like to be inserted into a special HTML-format. It pretty much looks like below. This code should be generated for each row in the excel sheet, and then inputted as a separate .txt-format:
HTML:
<div class="contact-frame"><div class="contact-picture"><img alt="" src="/wp-content/uploads/[Column 4]" /></div><div class="contact-information"><span class="contact-name">[Column 1]</span><br /><span class="contact-post">Vice Ordförande</span><br /><span class="contact-mail">E-Post: [Column 2]<a href="mailto:[Column 3]">[Column 3]</a></span><br /><span class="contact-phone">Telefon: [Column 2]</span></div></div>
The option is to manually copy every cell into this, which wouldn't be preferred. Really appreciate any help.
Last edited: