UncommonJoe

UncommonJoe

Real Name: Joe McLean

Montana (United States)
Web designer / Programmer

Latest Contributions

  • openDNS.com

    How many people use openDNS.com as a internet filter and how good of filter is it? What does it block/not block?

  • If date is past

    I'm trying to make an if() statement where something will happen if $launchtime is past $servertime.

    <?php
       $servertime
    = date('m/d/Y h:i:s A');
      
    $launchtime = "01/01/2008 12:00:00 AM";
    ?>

    I tried this

    <?php
      
    if($servertime >= $launchtime) {}
    ?>

    But it only works if the $servertime is larger than the $launchtime. I need it so that it could be any day and time, not one number larger than the other. Understand? It's hard to explain, sorry.

    Any help would be appreciated. Thanks!

  • Mysql Create Table

    I'm trying to create a table through MySQL but it's not working. Any tips?

    CODE
    <?php
        include('../config.php');
        if($_POST){
            mysql_query("
                CREATE TABLE users (
  • Php And Mysql

    Hey guys,

    I've been learning PHP and I need to know how to use PHP with MySQL. More specifically I need to know how to connect my app to the database and how to store content.

    Thanks!

  • Allowed Memory Size Bytes Exhausted

    I'm making a registration form for a clients site and I've gotten an error:

    QUOTE
    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4104 bytes) in /var/www/html/wp-includes/cache.php on line 48

    and line 48 in cache.php (which is a wordpress file) is