• Resolved snehansolomon

    (@snehansolomon)


    Hi,

    I am having a small problem in wordpress when fetching data from the database.

    i am retrieving a particular column of type varchar from my table using the wpdb class.

    the value in the column in “Simple & Clean HTML Email Template”

    when i print the output using <?php echo “$row->title”; ?> the output is printed as it is… but…

    when i print it using <img src="somevalue" title=<?php echo "$row->title"; ?> /> only Simple is fetched in the html code.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Retriving data from mysql’ is closed to new replies.