need to add bullets and bold it ..i

  • bhawan_ace
  • Born
  • Born
  • bhawan_ace
  • Posts: 3

Post 3+ Months Ago

here is the code i need to bold the output and put bullets
Code: [ Select ]
   <table border="0" class="ssi_table">';
  foreach ($posts as $post)
   echo '
     <tr>
      
     <td valign="top">
     <a href="',$post['href'], '">',$post['subject'], '</a></td>
     </tr>';
  echo '
   </table>';
  1.    <table border="0" class="ssi_table">';
  2.   foreach ($posts as $post)
  3.    echo '
  4.      <tr>
  5.       
  6.      <td valign="top">
  7.      <a href="',$post['href'], '">',$post['subject'], '</a></td>
  8.      </tr>';
  9.   echo '
  10.    </table>';


thanks in advance
:D
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • mk27
  • Proficient
  • Proficient
  • User avatar
  • Posts: 334

Post 3+ Months Ago

For bold, use <b></b> tags.
For bullets, use an unordered list <ul><li></li></ul>
  • bhawan_ace
  • Born
  • Born
  • bhawan_ace
  • Posts: 3

Post 3+ Months Ago

output of this line should be in strong and bullet
in PHP
<a href="',$post['href'], '">',$post['subject'], '</a></td>
  • mk27
  • Proficient
  • Proficient
  • User avatar
  • Posts: 334

Post 3+ Months Ago

Code: [ Select ]
<li>
<b>
<a href="',$post['href'], '">',$post['subject'], '</a>
</b>
</li>
</td>
  1. <li>
  2. <b>
  3. <a href="',$post['href'], '">',$post['subject'], '</a>
  4. </b>
  5. </li>
  6. </td>

You also need to put <ul> and </ul> on either side of the foreach loop.
  • bhawan_ace
  • Born
  • Born
  • bhawan_ace
  • Posts: 3

Post 3+ Months Ago

k thank you ..i will get back after trying the code

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 90 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.