Jump to content

need some help


roma2509

Recommended Posts

Hello I have tehe code:

$qry = "SELECT brand_name, brand_logo, site_link, video_link FROM tableName where catagory = 'Taxi'";
$result = mysql_query($qry) or die (mysql_error());
while ($row = mysql_fetch_assoc($result)){
?>
<div id="categ">
    <div id="inside"><?php echo $row['brand_name']; ?></div>
    <div id="inside1"><a href="#"><img src="<?php echo $row['brand_logo']; ?>" /></a></div>
    <div id="inside2"><?php echo $row['short_desc']; ?> <a href="<?php echo $row['site_link']; ?>">continuare</a> </div>
    <div id="inside3"><a rel="shadowbox;width=405;height=340" title="Restaurant Daniel - New York, NY"   href="<?php echo $row['video_link']; ?>"><img src="img/tur_act.jpg" /></a></div>
    </div> 
<?php } ?>

This cod select from table all rows from a category and put it on a div how it is show in the attach.problem is that it shows all the rows for this category (Taxi) but I want to show for exeample 10 results per page and generate a numeric list that will create a link to next page that will show me next result for this category.

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/201353-need-some-help/
Share on other sites

dual posting will not help get your answer any faster. If you are looking for someone to give you the code your looking for I suggest hiring a freelancer, otherwise please review your previous post and don't waste others time in begging for a solution.

sorry but I am not looking for some one to give me the cod but the advice becouse I need urgent to find an answer.Now I sow the answer that you give me on yearly my post and thank you very match for help

Link to comment
https://forums.phpfreaks.com/topic/201353-need-some-help/#findComment-1056393
Share on other sites

sorry but I am not looking for some one to give me the cod but the advice becouse I need urgent to find an answer.Now I sow the answer that you give me on yearly my post and thank you very match for help

 

http://www.phpfreaks.com/forums/index.php/topic,297545.0.html In case you were unable to find your previous post.

 

You have all the pieces to the puzzle in-front of you, the only thing lacking is someone else's logic to put it all together for you.

Link to comment
https://forums.phpfreaks.com/topic/201353-need-some-help/#findComment-1056396
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.