trying to insert latest topics on my website

  • Nem
  • Guru
  • Guru
  • Nem
  • Posts: 1243
  • Loc: UK

Post 3+ Months Ago

PHP Code: [ Select ]
 
echo("<table width=100%>")
 
echo("<tr>");
 
     
 
while( $ibf = mysql_fetch_array($query)) {
 
   echo("<a href=\"$web_addr/$forum_dir?showtopic=$ibf[tid]&view=getnewpost\">$ibf[title]</a><br>");
 
}
 
 
 
echo("<tr>");
 
echo("</table>")
  1.  
  2. echo("<table width=100%>")
  3.  
  4. echo("<tr>");
  5.  
  6.      
  7.  
  8. while( $ibf = mysql_fetch_array($query)) {
  9.  
  10.    echo("<a href=\"$web_addr/$forum_dir?showtopic=$ibf[tid]&view=getnewpost\">$ibf[title]</a><br>");
  11.  
  12. }
  13.  
  14.  
  15.  
  16. echo("<tr>");
  17.  
  18. echo("</table>")


hey this is the table im trying to use to make it loop all the newest topics.
Now this php code will be inserted in another table... it comes out all weird, is the above right? as in the way the tables are used, and the echos?
  • Nem
  • Guru
  • Guru
  • Nem
  • Posts: 1243
  • Loc: UK

Post 3+ Months Ago

fixed it, fixed it!!!

WOW I CAN FIX PHP PROBLEMS NOW :O

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 39 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.