Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by indiantown

  1. indiantown

    Need help to display 10 each column

    Hi jpadie... Thanks for all the help and your time, no words to thank you. I wanted to show you the final result but instead posting the link here, wanted to PM but it seems we don't have any PM options. Now my next project for next couple of days is to grab the count of deals/coupons by each...
  2. indiantown

    Need help to display 10 each column

    Hi jpadie, I did //check for a trailing column switch ($cnt): case 2: $table .= "<td>&nbsp;</td>"; break; case 3: $table .= "<td>&nbsp;</td></tr>"; break; endswitch; removed "<td>$link</td>" altogether as otherwise its adding another block. Is...
  3. indiantown

    Need help to display 10 each column

    Hi jpadie, Thanks for all the help. Little glitch... at the end of the table its duplicating the last entry Letter: Z. Zdag.com Zearth.com Zinio Zone labs Zones.com Zones.com You can see that "Zones.com" is getting duplicated. Please suggest.
  4. indiantown

    Need help to display 10 each column

    Hi jpadie, I have got things working (limping).... trying to dress it up; Cannot get few things done 1. Put stores with name 0-9 in one category 2. Trying to <table> </table> in letter category 3. Show the stores in 3 columns Here is the modified script; //this section stores all the rows...
  5. indiantown

    Need help to display 10 each column

    Hi jpadie, one more thing...... how I can make it to display 3 columns rather than in only 2 columns TIA
  6. indiantown

    Need help to display 10 each column

    Hi jpadie, Debugged..... made it to work.... It was mysql_connect($host, $uname, $pwd) or die(mysql_error());; ;; was the culprit. How can I club Letter: . .Mac Letter: 1 1-800-Contacts 1-800-Flowers.com 1-800-Patches 1-800-PetMeds 1-800-WheelChair 123Inkjets.com Letter: 3...
  7. indiantown

    Need help to display 10 each column

    Hi jpadie, The code shows a blank page..... looks some bug in the code somewhere.... going to look more into it. Still doesn't work. Any ideas.... will keep you posted. regards
  8. indiantown

    Need help to display 10 each column

    Hi jpadie, This is the code i am using <?php session_start(); //connect to database include("config.php"); $conn = mysql_connect("$dbhost", "$dbuser", "$dbpasswd") or die(mysql_error()); mysql_select_db("$dbname",$conn) or die(mysql_error()); //show stores first $query = "select...
  9. indiantown

    Need help to display 10 each column

    Hi jpadie, Thanks for your time in writing the code. Its still not working... I am trying to debug.... don't know till when I would be awake trying to get this work. If you can also look into it please that why it still not working, I would be really tahnkful. TIA.
  10. indiantown

    Need help to display 10 each column

    Hi jpadie, I have around 400 entries and what I intend to do is list/group it according to letters. So, all my entries with Letter A will be grouped together and B.... A Apple,Ant..... B Boy,Ball.... If you help me with exactly how by changing SQL I can achieve will really help me out... TIA.
  11. indiantown

    Need help to display 10 each column

    Any suggestions?
  12. indiantown

    Need help to display 10 each column

    Hi LZ, A step forward.... here is the working script //show stores first $query = "select store_title, store_link from store_name order by store_title"; $result = mysql_query($query); //we add this line because we need to know the number of rows $num_rows = mysql_num_rows($result); echo...
  13. indiantown

    Need help to display 10 each column

    jpadie....thanks for your reply. Working still (its 2:00 in the morning.. uuh) this is what i tried //show stores first $q = "select store_id, store_title from store_name order by store_title"; $r = mysql_query($q); $n=mysql_num_rows($r); #table tag echo "<table align=center border=2...
  14. indiantown

    Need help to display 10 each column

    <? //Now grab a section of that $db->open( "SELECT songlist.title, songlist.id, songlist.count_played, songlist.filename, songlist.artist, songlist.album, songlist.duration FROM songlist, category, categorylist WHERE category.name = 'Top 10' AND songlist.id = categorylist.songID AND...
  15. indiantown

    How to call the script *.php?c= with only one page

    Does not work, the complete script is below which I am using... please help me where and what changes I should make. <?php $crdr='/'; // set a correct RELATIVE path function set_path($cc){return "test-$cc.php";} $default="test-us.php"...

Part and Inventory Search

Back
Top