Support » Plugins » runPHP adding a space

  • I am trying to use this code in a post:

    <?php query_posts('cat=6'); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php previous_post(); ?> <?php next_post(); ?>
    <b><a>" rel="bookmark"><?php the_title(); ?></a></b>
    <?php endwhile; else: ?>
    <?php endif; ?>

    runPHP adds a space between < & ?

    But runPHP works with other php such as include
    What do I need to do?

Viewing 1 replies (of 1 total)
  • Well, incase anyone stumbles across this post and is having the same problem, here is the solution to the added space:
    disable “WordPress should correct invalidly nested XHTML automatically” in Options/Writing.

    I still can’t get the categories to show in the page, but at least I’m not having the php problem anymore.

Viewing 1 replies (of 1 total)
  • The topic ‘runPHP adding a space’ is closed to new replies.