The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
|||
|
|||
![]()
I'm the same guy who posted as Superfly before. Anyway...
Code:
$col_value = "$column"; //number of columns of the table generated $column = 3; Code:
<?php $username="xxxxx"; $password="xxxxx"; $database="xxxxx"; $table="testing"; $number="8"; $i = 1; $e = 2; //number of columns of the table generated $column = 3; mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $getbikes = mysql_query("SELECT * FROM $table ORDER BY id DESC LIMIT $number"); //Retrieves all of the Data from table echo "<table><tr>"; while($row = mysql_fetch_assoc($getbikes)) { echo "<td><a href='http://baldjf.com' class=''>$row[bikename]</a>"; echo "<a href='http://www.static-design.com'>"; echo "<img border='0' height='65'width='75' src='$filepath'>"; echo "<span>"; echo "<br>something here<br>"; echo "</a><br></font><br>"; echo "</span>"; echo "</td>"; if ($i == $column) { echo "</tr><tr>"; $column = 3*$e; $e++; } $i++; } echo "</table>"; ?> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|