Tried several times to solve the parse error. Someone Help

php

(Mohammed Parvez) #1
                   echo "<head></head><div style='float:left; padding:30px'>
                  <h1>$k['Name']
                  </h1></br><img src='sponsor/".$k['Pic'].'.jpeg'."' height='300' width='300'>
                   <br>.</hr></div>";

(Yassine) #2

It’s clear on the text highlighter that you have something wrong:

echo "<head></head><div style='float:left; padding:30px'><h1>".$k['Name']."</h1></br><img src='sponsor/".$k['Pic'].".jpeg' height='300' width='300'><br>.</hr></div>";

The syntax above should be working fine…

hope that helps!