<div style="clear:both;"> </div>
<style type="text/css">
div.color1 {
border-width:3px;
border-style:solid;
border-color:#ff9900;
margin:25px 5px 5px 5px;
padding:20px;
line-height:20px;
}
</style>
<div class="color1">
<table width="100%" cellspacing="0" cellpadding="5" border="0" summary="Subcategories">
<?php
$sql = mysql_query("SELECT * FROM jml_makers ") or die(mysql_error());
$total_rows = mysql_num_rows($sql);
$i = 1;
while ( $result = mysql_fetch_assoc($sql) ) { ?>
<?php if($i%2 == '1') { ?>
<tr>
<td class="navigation"><a href="index.php?option=com_jumi&fileid=12&Itemid=53&maker=<?php echo $result["maker_name"]; ?>"><?php echo $result["maker_name"]; ?></a></td>
<?php } elseif($i%2 == '0') { ?>
<td class="navigation"><a href="index.php?option=com_jumi&fileid=12&Itemid=53&maker=<?php echo $result["maker_name"]; ?>"><?php echo $result["maker_name"]; ?></a></td>
</tr>
<?php } ?>
<?php $i++; } ?>
</table>
</div>
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Variables are important in every programming language — and it’s no different in PHP. Variables give developers the possibility of temp...
-
What? Hide the .php extension of your PHP files in the URL of your site address. Instead of: http://www.example.com/page.php Visitors to ...
-
Questions : 1 Who is the father of PHP ? Answers : 1 Rasmus Lerdorf is known as the father of PHP. Questions : 2 What is the...
-
Change Db settings here C:\xampp\htdocs\modx\core\xpdo\xpdo.class Line 2920 $this->config['dsn']= $dsn; $this->con...
-
<form action="" name="" method="post"> <p><b>user:</b> <input type="text...
-
Redirection is process of forwarding one URL to a different URL. There are three main kinds of redirects online; 301, 302 and meta refres...
-
Questions : 1 What is database or database management systems (DBMS)? and - What’s the difference between file and database? Can files...
-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script...
-
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Add More Elements...
No comments:
Post a Comment
Thank you for your Comment....