Jump to content

ober

Staff Alumni
  • Posts

    5,327
  • Joined

  • Last visited

Posts posted by ober

  1. This works for me in both Opera and IE 7.

    CSS:
    [code]a {
        color: blue;
        text-decoration: none;
    }

    a:link {
        text-decoration: underline;
    }

    img {
        border: 0;
    }[/code]
    HTML:
    [code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html>
    <head>
    <title>Untitled</title>
    <link rel="stylesheet" type="text/css" href="style.css">

    </head>

    <body>

    <a href="test.php">here</a>
    <br /><br /><br />

    <a href="test.php"><img src="../images/animated_timer_bar.gif" width="220" height="18" alt="" /></a>

    </body>
    </html>[/code]
  2. I hope that isn't an exact copy of the code... I assume the last part is pseudo code.

    But I guess I'm not sure why you're creating a hidden input if you're sticking it right into a URL.
  3. Andy, I agree with you on the stats point from W3, but I've run JS stats engines on sites not too long ago and the stats were pretty comparative. And that was on a site that didn't have anything to do with technology.
  4. The Fast Reply boxes have been enabled in PHP Help and PHP Newbie Help. Keep in mind that we still have flood control enabled with a 15-second delay. If they are abused in any way, we will be forced to disable them.

    Thanks and happy coding from the PHPFreaks team!
  5. That's true and a very valid point, but some of my sites are for that specific audience that fit into the "older" crowd that don't have the latest in PC technology... people like old folks that are using hand-me-down PCs that their kids gave them. So unfortunately, I still write sites for that resolution.

    The other thing that provides is easy printing. You build a site that fits inside a 800x600 resolution and you're building a site that requires no changes for printing.
  6. You should still program for 800x600. There are still an amazingly large amount of users running that resolution, unfortunately. I have, however, seen a trend of web designers moving to a 1024x768.

    [a href=\"http://www.w3schools.com/browsers/browsers_stats.asp\" target=\"_blank\"]http://www.w3schools.com/browsers/browsers_stats.asp[/a]
  7. Change:
    [code]mysql_query($query);
    echo("Success!");[/code]
    To:
    [code]$result = mysql_query($query);
    if($result)
       echo "Success!";
    else
       echo "There was an error!" . mysql_error();[/code]

    And tell us what you get. It would also help if you had access to phpmyadmin and you could create the table through there (or at least run the SQL through there) and see if you get anything.
  8. That's probably because you're not specifying a specific file. You're just giving it an address. Could it possibly be: $xml = simplexml_load_file('http://rss.news.yahoo.com/rss/topstories.xml'); ?
  9. I'm about 99% sure I closed another thread like this. Emailing the same person x amount of times is nothing but a spam/joke generator and won't be tolerated on these forums. Unless you can PM me with a valid reason for a tool like this, the thread will remain closed.

    EDIT: Reopened.

    Unless you're using an old version of PHP, you need to use $_POST['number'] or $_GET['number']... same goes with the name, email address, etc.

    Also, your for loop is setup backwards. The middle term needs to be <=, it's a conditional statement that says keep going until it reaches x.
  10. I personally use Homesite 5.5, but if I were to switch to a free editor, I'd go with PHP Designer (2005... I've tried the 2006 beta and it's still really buggy).

    I've tried Eclipse and the Maguma studio packages... didn't really care for either.
×
×
  • 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.