Using PHP How do you display data from mysql with a CSS style?

I am creation the criticism system. At the moment, the interpretation is retrieved from mysql in to the layer.

I would similar to to have it so which we can request CSS styles to this retrieved data.

Any ideas?

One thought on “Using PHP How do you display data from mysql with a CSS style?

  1. When you echo the data, echo it as if you were writing the HTML code for it. For example:

    <p class='comment'><?php echo $comment; ?></p>

    Or alternatively

    <?php echo "<p class='comment'>" . $comment . "</p>"; ?>

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>