Simple PHP fix - $5

Discussion in 'PHP' started by Etherfast, May 16, 2008.

  1. #1
    Hey,

    I'm having an issue on this website. After each post, depending on the author, an image is displayed (the one with curly fonts). The website uses Wordpress.

    I'm using the following code to display that:
    
    <?php 
    	$var=the_author();
    	if($var=='Elaine Viccora') print '<div class="elaine"></div>';
    				 else if($var=='Anne Engel') print '<div class="anne"></div>';
    				 else if($var=='etherfast') print '';
    ?>
    
    Code (markup):
    The only problem is, it also echoes the value of the_author(), besides the image, and I want only the image to stay. If one of you has a solution to this, I will gladly share FTP information and pay $5 for the fix by PayPal.
    Thanks,
     
    Etherfast, May 16, 2008 IP
  2. vtida.com

    vtida.com Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    hello
    Please PM to me, I will help you.
    It is free :)
     
    vtida.com, May 16, 2008 IP
  3. allaboutgeo

    allaboutgeo Peon

    Messages:
    85
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    PM me if you still have problem
     
    allaboutgeo, May 16, 2008 IP
  4. allaboutgeo

    allaboutgeo Peon

    Messages:
    85
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Problem fixed.
     
    allaboutgeo, May 16, 2008 IP
  5. Etherfast

    Etherfast Peon

    Messages:
    1,192
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks :) Send me the payment details.
     
    Etherfast, May 16, 2008 IP