0

I've tried this multiple ways, the latest below.
Maybe I'm on the wrong track.
Thank you.

<?php do { ?>
     <?php  $class='class="other"'; ?>
      
      <?php if($row_rsFrontPageAds['AdLink'])
	 
	  echo "<a href=\"" . $row_rsFrontPageAds['AdLink']"\"".$class."\">"; 
	  
	
	 ?>  
      
      
        <img style=" " 
              src="<?php echo $row_rsFrontPageAds['AdPath']; ?>"alt="" max-width="" border="" class="imgright1"/>
              
          
             
           
     <div align="justify" class="style48" >     
  <?php if($row_rsFrontPageAds['AdCaption']) ?>
	<?php   echo "" . $row_rsFrontPageAds['AdCaption'] . ""; 
	  	 ?> 
              
             <?php echo "</a>"; ?> </div>
1
Contributor
1
Reply
2
Views
8 Years
Discussion Span
Last Post by markaman
0

Never mind. I was missing a "."

echo "<a href=\"" . $row_rsFrontPageAds['AdLink'] . "\"" .$class."\">";
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.