Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter kenrohde

    (@kenrohde)

    Nevermind… I’ve fixed the issue… there was some weird ass character problem. Simply removed everything in title and wrote it out again… teaches me a lesson for copying and pasting…

    Forum: Fixing WordPress
    In reply to: Feed error
    Thread Starter kenrohde

    (@kenrohde)

    Here’s a copy of the exact error I am getting

    line 41, column 22: XML parsing error: <unknown>:41:22: not well-formed (invalid token)

    Line 41 reads:
    <title>Extraordinary Mission for Ordinary People (Exodus 3)</title>

    kenrohde

    (@kenrohde)

    when i click it works… has this been fixed?

    Forum: Fixing WordPress
    In reply to: SQL query in pages
    Thread Starter kenrohde

    (@kenrohde)

    OK – here’s what I have so far but it’s obviously not working. However, it may give you a good idea what I am trying to do. I am using this code as part of a page.php within my theme folder. My idea is to then simply make the page use this template and the results should show…

    <?php
    /*
    Template Name: Page Show Youth Attendee Status
    */
    ?>
    <?php get_header(); ?>
    <div id="content">
    	<div id="contentleft">
    		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    		<h1><?php the_title(); ?></h1>
    		<?php the_content(__('Read more'));?><div style="clear:both;"></div>
    
    		<!-- SQL Spits out results here  -->
    		WP_Query($query = 'select first_name, last_name, reg_confirm, count(1) as count_rows from ft_form_1')
    		<!-- table here  -->
    		echo "<table border=\"1\" align=\"center\">";
    		echo "<tr><th>First Name</th>";
    		echo "<th>Last Name</th></tr>";
    		echo "<th>Registration Status</th></tr>";
    		while ( $counter <= sum(count_rows_SQL) ) {
    		echo "<tr><td>";
    		echo $first_name_SQL;
    		echo "</td><td>";
    		echo $last_name_SQL;
    		echo "</td></tr>";
    		echo $reg_confirm_SQL;
    		echo "</td></tr>";
    		$counter = $counter + 1;
    		}
    		echo "</table>";
    
    		<!-- END OF SQL Spits out results here  -->
    
    		<!--
    		<?php trackback_rdf(); ?>
    		-->
    		<?php endwhile; else: ?>
    		<p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>
    
    	</div>
    
    </div>
    
    <!-- The main column ends  -->
    
    <?php get_footer(); ?>

    Any helps is appreciated.

    Thanks a lot!!!!

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