Forums

php inside arguments (2 posts)

  1. mister_doodi
    Member
    Posted 3 years ago #

    <?php query_posts('showposts=3&cat=3'); ?>
    In that code above how would I insert, just for example
    <?php the_title(); ?>

    This is what I'm trying to do and I know the syntax is worng in this case, what would be the right way to express it.
    <?php query_posts('showposts=3&cat=3&<?php the_title(); ?>'); ?>

  2. whooami
    Member
    Posted 3 years ago #

    what are you trying to accomplish? what are you trying to display, exactly?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags