Jump to content

[SOLVED] Parse Error echoing image


MDanz

Recommended Posts

Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /home/ustackc1/public_html/search.php on line 69

 

 

$name = $runrows['name'];

        $image = $runrows['image'];

        $hyperlink = $runrows['hyperlink'];

        $currency = $runrows ['currency'];

        $info = $runrows ['info'];

       

        echo " <b>$name</b><br>

        <img src"$image"/>

        <br>

        <a href='$hyperlink'>$hyperlink</a><p>

        "

 

 

I'm getting a parse error.. Its something to do with the image line of code in the echo.. i want the img src to display the image(the hyperlink is in the database).. how do i do this?  i think i done the img src wrong

Link to comment
https://forums.phpfreaks.com/topic/168866-solved-parse-error-echoing-image/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.