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...
Hi jpadie,
I did
//check for a trailing column
switch ($cnt):
case 2:
$table .= "<td> </td>";
break;
case 3:
$table .= "<td> </td></tr>";
break;
endswitch;
removed "<td>$link</td>" altogether as otherwise its adding another block.
Is...
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.
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...
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...
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
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...
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.
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.
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...
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...
<?
//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...
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"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.