How do I insert an image in php -


this question has answer here:

this code have when try run it, error saying, "parse error: syntax error, unexpected 'src' (t_string), expecting ',' or ';' in h:\xampp\htdocs\teacher\page1.php on line 33"

the code shows below:

echo "<div id = 'image1'>" <img src='path/to/desert.jpg' alt='photo of me' />"</div>"; echo "<div id = 'title'>". $output['title'] . "</div>"; echo "<div  id = 'initials'>" . $output['cipher']."</div>"; echo "<div id = 'lastname'>" .$output['lastname'] . "</div>"; echo "<div id = 'level'>".$output['salerylevel'] . "</div>"; 

dude forgot semicolon ; on line 33.. cant read error?


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -