Skip to content

Instantly share code, notes, and snippets.

View michaeldhopkins's full-sized avatar

Michael Hopkins michaeldhopkins

View GitHub Profile
<ul class="ortho-in-motion cf"><?php
$i = 0;
$number_of_posts_output = 0;
$number_of_posts_output_by_doctor = 0;
$length_of_xml = count($xml->channel); //I forget how to do this
foreach ($xml->channel->item as $entry){
$i++;
if (author_of_this_post_is_current_doctor()) {
echo "<li>post</li>";