Jump to content

!!blue

Members
  • Posts

    351
  • Joined

  • Last visited

Posts posted by !!blue

  1. eek! that gave me this:

    >career
    Chicago Office of Workforce Dev
       helps Chicagoans find and train for jobs; help businesses find workers
    
    Chicago Office of Workforce Dev
       helps Chicagoans find and train for jobs; help businesses find workers
    
    Chicago Office of Workforce Dev
       helps Chicagoans find and train for jobs; help businesses find workers
    
    Chicago Office of Workforce Dev
       helps Chicagoans find and train for jobs; help businesses find workers
    ....

     

    kinda scary, I had to stop the page from continuing to load. ;)

  2. I do want a definition list so that each link has a short description. But the PHP script I'm using loops through the links and spits out each DB table row like this:

    >career
    Chicago Office of Workforce Dev
       helps Chicagoans find and train for jobs; help businesses find workers
    
    career
    Crain's Chicago Business
       Chicago business news, lists, rankings, directory and more
    
    career
    Creative Directory
       resource for the creative community in the Midwest
    .....

     

    but I want the table rows to be shown like this, grouped together by type:

     

    >career
    Chicago Office of Workforce Dev
       helps Chicagoans find and train for jobs; help businesses find workers
    Crain's Chicago Business
       Chicago business news, lists, rankings, directory and more
    Creative Directory
       resource for the creative community in the Midwest
    .....

     

    sorry, I didn't explain visually ;)

     

    thanks,

    !!blue

     

  3. Ooop! I forgot that:

     

    key | type | name | url | desc

     

    key = number; auto increment unique id

    type = text; the type of link, e.g. 'css sources', 'entertainment', 'music'

    name = text; usually the title of the page

    url = text; the actual URL of the link

    desc = text; a short one or two sentence description of the link

  4.  

    I've created a database of links with URIs, titles, and descriptions. It is uploaded safely to my website via phpMyAdmin.

     

    So I want to have a php page show the database similar to this hard-coded page on my blog (I'm making a replacement):

    http*//blog.zoblue.com/link-list.php

     

    I followed some tutorials online, and after some tweaking, it shows the page like this:

    http*//zoblue.com/connect.php

     

    Here's the PHP code that outputs the above:

    ><?php
    /* connection info taken out here*/
    
    echo 'connected successfully' . "<br /><br />\n";
    $query="SELECT * FROM linklist ORDER BY 2, 4;";
    $result=mysql_query($query);
    $num=mysql_numrows($result);
    mysql_close($link);
    echo "<strong>Database Output</strong>\n<br />\n";
    
    $i=0;
    while ($i < $num) {
    $type=mysql_result($result,$i,"type");
    $name=mysql_result($result,$i,"name");
    $url=mysql_result($result,$i,"url");
    $desc=mysql_result($result,$i,"desc");
    echo "<strong>" . $type . "</strong>\n";
    echo "<dl><dt><a href='" . $url . "' title='" . $name. "'>" . $name . "</a></dt>\n";
    echo "<dd>" . $desc . "</dd></dl>\n\n";
    $i++;
    }
    echo "\n<br><br>\n";
    ?>

     

    but I'd like to group the links by their category (the type column in the DB table). Can anyone help me do this? I can't wait for my PHP and MySQL books to come in the mail; young grasshopper has no patience. ;)

     

    thanks,

    !!blue

  5. What AOL is doing seems to be working for them and getting them good PR to boot:

     

    http://news.google.com/news?hl=en&lr=&tab=...tnG=Search+News

     

    I, for one, support TCH in their decision as they always do what's best for their client (us) in the long run. The only way for this to change would be for users to complain to AOL since they are the ones with the strigent rules.

     

    I don't mean to downplay AOL either. I can say from experience that when my parents had AOL years ago, they were gently introduced to the concept of "the internet" and "email." Now they have another provider and are more knowledgable on most things web. AOL wants to be an entire package now, offering integrated email anti-virus and automatic computer repair. However, the user starts to rely on these tools instead of learning and researching for themselves.

     

    Well, not to get off tangent, I wholly support and continue to love TCH. Perhaps we can come up with a different method of forwarding to AOL? As TCH-Mike said,

     

    ...Simple fact of the matter is we have been putting it off and tryinf to deal with the huge amounts of SPAM complaints, investigating them, removeing forwards for people and letting them know they are being tagged as a spammer because of them, telling them how they can use forwards and NOT get tagged as spammers...

    regards,

    !!blue

  6. HAPPY NEW YEAR!

     

    Seeing as how some blogs are posting their 2004 year-end stats, I want to do the same. I came to the part in my AWStats for one of my subdomains that shows the Visitors domains/countries list.

     

    My question is how can I reference the images used for the flags in my webpage's code? Or do I have to save each image to my website? The current URL can't be viewed w/o logging in to my account, e.g.:

    h**ps://serverXX.totalchoicehosting.com:2083/images/awstats/flags/ca.png

     

    thanks,

    !!blue

  7. Raul, I love sharing pix of my KPax. Since I don't have any kids yet, she's my baby :D And, yeah, lotta neighbors say she looks like a hyena, she's what's called "brindle" color.

     

    Lisa, you're right. Some history says pit bulls were breed for baiting bulls as a form of entertainment. When that was banned, they turned to using dogs to kill rats. Eventually, people made the dogs fight each other. How people find this entertaining is beyond me. I like watching boxing, but the fighters don't kill each other and many times shake hands afterwards.

     

    I hope people can change their minds about these dogs and not train them to be mean.

     

    later,

    !!blue

  8. My doggy is half pit-bull, we don't know what her father was, but she's the most loving dog I've ever met. Yes, she does have bark but very little bite. Dogs are like kids, they'll learn hate if u teach them hate.

     

    There's a pic of her in the yard attached. Ain't she a cutie?!

     

    later,

    !!blue

    post-33-1102373683_thumb.jpg

  9. Yeah, it's hard to think that the whole of the earth's water has been completely recycled like 5 times or something in the earth's history. So we could be drinking dinosaur pee, caveman's tears, glacier residue, even Einstein's sweat!

     

    Sorry to paint the picture :( but that makes me wonder how people can say we'll run out of water one day. Isn't it just recycled?

     

    later,

    !!blue

  10. Got it! All signed up, thanks! I didn't want to get gmail invite from somewhere else, cuz I've heard of ppl asking for things in return. Or only doing it to win an iPod, or something.

     

    I knew I could count on the TCH family! :rolleyes:

  11. Ok, ok, I know I'm kinda late to the game, but I heard that Google might put their fingers into the chat game. So, I'd like a Gmail invite if anyone has one. :rolleyes:

     

    (Google IM is a rumor so far:

    h**p://news.com.com/Will+Google+say+hello+to+IM/2100-1032_3-5412359.html)

     

    Thanks,

    !!blue

  12. I've figured out I can't use either of those methods. I did the whole thing backwards. Movable Type was in the blog folder and once I got WordPress up and running: I moved MT to blogMT and moved WP to blog (not really moved, more of renaming folders). Now I can't log in to movable type to republish my entries and redirect them appropriately. B)

     

    Oh well, it's not that big of a deal.

     

    later,

    !!blue

×
×
  • Create New...