i dont understand why this wont run

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • so many sites so little time

    i dont understand why this wont run

    the table is head the colunm is called body

    <?php //show_site.php
    // This script retrieves blog entries from the database.

    // Address error handing.
    ini_set ('display_error s', 1);
    error_reporting (E_ALL & ~E_NOTICE);

    // Connect and select.
    if ($dbc = @mysql_connect ('localhost', 'username', 'password')) {

    if (!@mysql_select _db ('username_tpp' )) {
    die ('<p>Could select the database because: <b>' . mysql_error() .
    '</b></p>');
    }

    } else {
    die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
    '</b></p>');
    }
    {
    if ($show = SELECT body from home;)

    print "<p><h3>{$show} </h3>
    </p><hr />\n";
    }

    mysql_close(); // Close the database connection.
    ?>

  • so many sites so little time

    #2
    Re: i dont understand why this wont run

    to see a test of this go to www.kirewire.com/ttp/index.php

    so many sites so little time wrote:
    the table is head the colunm is called body
    >
    <?php //show_site.php
    // This script retrieves blog entries from the database.
    >
    // Address error handing.
    ini_set ('display_error s', 1);
    error_reporting (E_ALL & ~E_NOTICE);
    >
    // Connect and select.
    if ($dbc = @mysql_connect ('localhost', 'username', 'password')) {
    >
    if (!@mysql_select _db ('username_tpp' )) {
    die ('<p>Could select the database because: <b>' . mysql_error() .
    '</b></p>');
    }
    >
    } else {
    die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
    '</b></p>');
    }
    {
    if ($show = SELECT body from home;)
    >
    print "<p><h3>{$show} </h3>
    </p><hr />\n";
    }
    >
    mysql_close(); // Close the database connection.
    ?>

    Comment

    • Jerry Stuckle

      #3
      Re: i dont understand why this wont run

      so many sites so little time wrote:
      the table is head the colunm is called body
      >
      <?php //show_site.php
      // This script retrieves blog entries from the database.
      >
      // Address error handing.
      ini_set ('display_error s', 1);
      error_reporting (E_ALL & ~E_NOTICE);
      >
      // Connect and select.
      if ($dbc = @mysql_connect ('localhost', 'username', 'password')) {
      >
      if (!@mysql_select _db ('username_tpp' )) {
      die ('<p>Could select the database because: <b>' . mysql_error() .
      '</b></p>');
      }
      >
      } else {
      die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
      '</b></p>');
      }
      {
      if ($show = SELECT body from home;)
      >
      print "<p><h3>{$show} </h3>
      </p><hr />\n";
      }
      >
      mysql_close(); // Close the database connection.
      ?>
      >
      Possibly because you never queried the database?

      Also, the line:

      if ($show = SELECT body from home;)

      is not valid syntax.

      And if you want to see the error messages, you need to also remove the
      '@' from the mysql calls.

      --
      =============== ===
      Remove the "x" from my email address
      Jerry Stuckle
      JDS Computer Training Corp.
      jstucklex@attgl obal.net
      =============== ===

      Comment

      • Jerry Stuckle

        #4
        Re: i dont understand why this wont run

        so many sites so little time wrote:
        to see a test of this go to www.kirewire.com/ttp/index.php
        >
        so many sites so little time wrote:
        >
        >>the table is head the colunm is called body
        >>
        >><?php //show_site.php
        >>// This script retrieves blog entries from the database.
        >>
        >>// Address error handing.
        >>ini_set ('display_error s', 1);
        >>error_reporti ng (E_ALL & ~E_NOTICE);
        >>
        >>// Connect and select.
        >>if ($dbc = @mysql_connect ('localhost', 'username', 'password')) {
        >>
        >> if (!@mysql_select _db ('username_tpp' )) {
        >> die ('<p>Could select the database because: <b>' . mysql_error() .
        >>'</b></p>');
        >> }
        >>
        >>} else {
        >> die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
        >>'</b></p>');
        >>}
        >>{
        >>if ($show = SELECT body from home;)
        >>
        >> print "<p><h3>{$show} </h3>
        >> </p><hr />\n";
        >> }
        >>
        >>mysql_close() ; // Close the database connection.
        >>?>
        >
        >
        Not Found
        The requested URL /ttp/index.php was not found on this server.

        Additionally, a 404 Not Found error was encountered while trying to use
        an ErrorDocument to handle the request.
        Apache/1.3.37 Server at www.kirewire.com Port 80

        --
        =============== ===
        Remove the "x" from my email address
        Jerry Stuckle
        JDS Computer Training Corp.
        jstucklex@attgl obal.net
        =============== ===

        Comment

        • so many sites so little time

          #5
          Re: i dont understand why this wont run

          woops sorry its /tpp why isnt it valid syntax :( pay so much for books
          that lie ;_;
          Jerry Stuckle wrote:
          so many sites so little time wrote:
          to see a test of this go to www.kirewire.com/ttp/index.php

          so many sites so little time wrote:
          >the table is head the colunm is called body
          >
          ><?php //show_site.php
          >// This script retrieves blog entries from the database.
          >
          >// Address error handing.
          >ini_set ('display_error s', 1);
          >error_reportin g (E_ALL & ~E_NOTICE);
          >
          >// Connect and select.
          >if ($dbc = @mysql_connect ('localhost', 'username', 'password')) {
          >
          > if (!@mysql_select _db ('username_tpp' )) {
          > die ('<p>Could select the database because: <b>' . mysql_error() .
          >'</b></p>');
          > }
          >
          >} else {
          > die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
          >'</b></p>');
          >}
          >{
          >if ($show = SELECT body from home;)
          >
          > print "<p><h3>{$show} </h3>
          > </p><hr />\n";
          > }
          >
          >mysql_close( ); // Close the database connection.
          >?>
          >
          Not Found
          The requested URL /ttp/index.php was not found on this server.
          >
          Additionally, a 404 Not Found error was encountered while trying to use
          an ErrorDocument to handle the request.
          Apache/1.3.37 Server at www.kirewire.com Port 80
          >
          --
          =============== ===
          Remove the "x" from my email address
          Jerry Stuckle
          JDS Computer Training Corp.
          jstucklex@attgl obal.net
          =============== ===

          Comment

          • so many sites so little time

            #6
            Re: i dont understand why this wont run

            im really stuck what would work in this case all im trying to do with
            that $show is to query the data base to select from table home the info
            in column body and print it to the screen
            so many sites so little time wrote:
            woops sorry its /tpp why isnt it valid syntax :( pay so much for books
            that lie ;_;
            Jerry Stuckle wrote:
            so many sites so little time wrote:
            to see a test of this go to www.kirewire.com/ttp/index.php
            >
            so many sites so little time wrote:
            >
            >>the table is head the colunm is called body
            >>
            >><?php //show_site.php
            >>// This script retrieves blog entries from the database.
            >>
            >>// Address error handing.
            >>ini_set ('display_error s', 1);
            >>error_reporti ng (E_ALL & ~E_NOTICE);
            >>
            >>// Connect and select.
            >>if ($dbc = @mysql_connect ('localhost', 'username', 'password')) {
            >>
            >> if (!@mysql_select _db ('username_tpp' )) {
            >> die ('<p>Could select the database because: <b>' . mysql_error() .
            >>'</b></p>');
            >> }
            >>
            >>} else {
            >> die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
            >>'</b></p>');
            >>}
            >>{
            >>if ($show = SELECT body from home;)
            >>
            >> print "<p><h3>{$show} </h3>
            >> </p><hr />\n";
            >> }
            >>
            >>mysql_close() ; // Close the database connection.
            >>?>
            >
            >
            Not Found
            The requested URL /ttp/index.php was not found on this server.

            Additionally, a 404 Not Found error was encountered while trying to use
            an ErrorDocument to handle the request.
            Apache/1.3.37 Server at www.kirewire.com Port 80

            --
            =============== ===
            Remove the "x" from my email address
            Jerry Stuckle
            JDS Computer Training Corp.
            jstucklex@attgl obal.net
            =============== ===

            Comment

            • so many sites so little time

              #7
              Re: i dont understand why this wont run

              i tried to fix it getting
              Parse error: syntax error, unexpected T_STRING in
              /home/kirewire/public_html/pp2/index.php on line 222

              for

              ....ini_set ('display_error s', 1);
              error_reporting (E_ALL & ~E_NOTICE);

              // Connect and select.
              if ($dbc = mysql_connect ('localhost', 'kirewire', 'erikwire')) {

              if (!mysql_select_ db ('kirewire_tpp' )) {
              die ('<p>Could select the database because: <b>' . mysql_error() .
              '</b></p>');
              }

              } else {
              die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
              '</b></p>');


              $query = SELECT body from home;

              print "<p><h3>{$$quer y}</h3>
              </p><hr />\n";
              }

              mysql_close(); // Close the database connection.
              ?>
              so many sites so little time wrote:
              im really stuck what would work in this case all im trying to do with
              that $show is to query the data base to select from table home the info
              in column body and print it to the screen
              so many sites so little time wrote:
              woops sorry its /tpp why isnt it valid syntax :( pay so much for books
              that lie ;_;
              Jerry Stuckle wrote:
              so many sites so little time wrote:
              to see a test of this go to www.kirewire.com/ttp/index.php

              so many sites so little time wrote:

              >the table is head the colunm is called body
              >
              ><?php //show_site.php
              >// This script retrieves blog entries from the database.
              >
              >// Address error handing.
              >ini_set ('display_error s', 1);
              >error_reportin g (E_ALL & ~E_NOTICE);
              >
              >// Connect and select.
              >if ($dbc = @mysql_connect ('localhost', 'username', 'password')) {
              >
              > if (!@mysql_select _db ('username_tpp' )) {
              > die ('<p>Could select the database because: <b>' . mysql_error() .
              >'</b></p>');
              > }
              >
              >} else {
              > die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
              >'</b></p>');
              >}
              >{
              >if ($show = SELECT body from home;)
              >
              > print "<p><h3>{$show} </h3>
              > </p><hr />\n";
              > }
              >
              >mysql_close( ); // Close the database connection.
              >?>


              >
              Not Found
              The requested URL /ttp/index.php was not found on this server.
              >
              Additionally, a 404 Not Found error was encountered while trying to use
              an ErrorDocument to handle the request.
              Apache/1.3.37 Server at www.kirewire.com Port 80
              >
              --
              =============== ===
              Remove the "x" from my email address
              Jerry Stuckle
              JDS Computer Training Corp.
              jstucklex@attgl obal.net
              =============== ===

              Comment

              • so many sites so little time

                #8
                Re: i dont understand why this wont run

                alright so this is where im at, i did this and now it says it works but
                jerry knows that i resolved my problem earlier with
                www.kirewire.com/tpp2/update_site.php now i just fixed the problem with
                kirewire.com/tpp2/index.php but nothing shows up on the index site but
                i get no errors on the index site it looks like this

                if ($dbc = mysql_connect ('localhost', 'kirewire', 'erikwire')) {

                if (!mysql_select_ db ('kirewire_tpp' )) {
                die ('<p>Could select the database because: <b>' . mysql_error() .
                '</b></p>');
                }

                } else {
                die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                '</b></p>');

                }
                $result = mysql_query ($query);

                $query = 'SELECT * FROM home';

                print "<p><h3>{$resul t}</h3>
                </p><hr />\n";


                mysql_close(); // Close the database connection.
                ?>

                on the update site it looks like this:

                // Define the query.
                $query = "Update home Set body = '($_POST)'";

                // Execute the query.
                if (@mysql_query ($query)) {
                print '<p>Your site has been updated!.</p>';
                } else {
                print "<p>Sorry by your site could not be updated because: <b>" .
                mysql_error() . "</b>. The query was $query.</p>";
                }

                mysql_close();

                }

                // Display the form.
                ?>

                so many sites so little time wrote:
                i tried to fix it getting
                Parse error: syntax error, unexpected T_STRING in
                /home/kirewire/public_html/pp2/index.php on line 222
                >
                for
                >
                ...ini_set ('display_error s', 1);
                error_reporting (E_ALL & ~E_NOTICE);
                >
                // Connect and select.
                if ($dbc = mysql_connect ('localhost', 'kirewire', 'erikwire')) {
                >
                if (!mysql_select_ db ('kirewire_tpp' )) {
                die ('<p>Could select the database because: <b>' . mysql_error() .
                '</b></p>');
                }
                >
                } else {
                die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                '</b></p>');
                >
                >
                $query = SELECT body from home;
                >
                print "<p><h3>{$$quer y}</h3>
                </p><hr />\n";
                }
                >
                mysql_close(); // Close the database connection.
                ?>
                so many sites so little time wrote:
                im really stuck what would work in this case all im trying to do with
                that $show is to query the data base to select from table home the info
                in column body and print it to the screen
                so many sites so little time wrote:
                woops sorry its /tpp why isnt it valid syntax :( pay so much for books
                that lie ;_;
                Jerry Stuckle wrote:
                so many sites so little time wrote:
                to see a test of this go to www.kirewire.com/ttp/index.php
                >
                so many sites so little time wrote:
                >
                >>the table is head the colunm is called body
                >>
                >><?php //show_site.php
                >>// This script retrieves blog entries from the database.
                >>
                >>// Address error handing.
                >>ini_set ('display_error s', 1);
                >>error_reporti ng (E_ALL & ~E_NOTICE);
                >>
                >>// Connect and select.
                >>if ($dbc = @mysql_connect ('localhost', 'username', 'password')) {
                >>
                >> if (!@mysql_select _db ('username_tpp' )) {
                >> die ('<p>Could select the database because: <b>' . mysql_error() .
                >>'</b></p>');
                >> }
                >>
                >>} else {
                >> die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                >>'</b></p>');
                >>}
                >>{
                >>if ($show = SELECT body from home;)
                >>
                >> print "<p><h3>{$show} </h3>
                >> </p><hr />\n";
                >> }
                >>
                >>mysql_close() ; // Close the database connection.
                >>?>
                >
                >

                Not Found
                The requested URL /ttp/index.php was not found on this server.

                Additionally, a 404 Not Found error was encountered while trying to use
                an ErrorDocument to handle the request.
                Apache/1.3.37 Server at www.kirewire.com Port 80

                --
                =============== ===
                Remove the "x" from my email address
                Jerry Stuckle
                JDS Computer Training Corp.
                jstucklex@attgl obal.net
                =============== ===

                Comment

                • Tim Roberts

                  #9
                  Re: i dont understand why this wont run

                  "so many sites so little time" <kkddrpg@gmail. comwrote:
                  >
                  >the table is head the colunm is called body
                  >
                  ><?php //show_site.php
                  >// This script retrieves blog entries from the database.
                  >...
                  >// Connect and select.
                  >if ($dbc = @mysql_connect ('localhost', 'username', 'password')) {
                  >
                  > if (!@mysql_select _db ('username_tpp' )) {
                  > die ('<p>Could select the database because: <b>' . mysql_error() .
                  >'</b></p>');
                  > }
                  >} else {
                  > die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                  >'</b></p>');
                  >}
                  >{
                  >if ($show = SELECT body from home;)
                  You didn't really expect that to work, did you?

                  $q = mysql_query("SE LECT body FROM home;", $dbc);
                  while( $row = mysql_fetch_arr ay($q) )
                  {
                  echo "<h3>$row</h3>\n";
                  }
                  >mysql_close( ); // Close the database connection.
                  >?>
                  By the way, you can't embed an <h3tag into a <ptag.
                  --
                  Tim Roberts, timr@probo.com
                  Providenza & Boekelheide, Inc.

                  Comment

                  • Jerry Stuckle

                    #10
                    Re: i dont understand why this wont run

                    so many sites so little time wrote:
                    alright so this is where im at, i did this and now it says it works but
                    jerry knows that i resolved my problem earlier with
                    www.kirewire.com/tpp2/update_site.php now i just fixed the problem with
                    kirewire.com/tpp2/index.php but nothing shows up on the index site but
                    i get no errors on the index site it looks like this
                    >
                    if ($dbc = mysql_connect ('localhost', 'kirewire', 'erikwire')) {
                    >
                    if (!mysql_select_ db ('kirewire_tpp' )) {
                    die ('<p>Could select the database because: <b>' . mysql_error() .
                    '</b></p>');
                    }
                    >
                    } else {
                    die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                    '</b></p>');
                    >
                    }
                    $result = mysql_query ($query);
                    >
                    $query = 'SELECT * FROM home';
                    >
                    print "<p><h3>{$resul t}</h3>
                    </p><hr />\n";
                    >
                    >
                    mysql_close(); // Close the database connection.
                    ?>
                    >
                    on the update site it looks like this:
                    >
                    // Define the query.
                    $query = "Update home Set body = '($_POST)'";
                    >
                    // Execute the query.
                    if (@mysql_query ($query)) {
                    print '<p>Your site has been updated!.</p>';
                    } else {
                    print "<p>Sorry by your site could not be updated because: <b>" .
                    mysql_error() . "</b>. The query was $query.</p>";
                    }
                    >
                    mysql_close();
                    >
                    }
                    >
                    // Display the form.
                    ?>
                    >
                    so many sites so little time wrote:
                    >
                    >>i tried to fix it getting
                    >>Parse error: syntax error, unexpected T_STRING in
                    >>/home/kirewire/public_html/pp2/index.php on line 222
                    >>
                    >>for
                    >>
                    >>...ini_set ('display_error s', 1);
                    >>error_reporti ng (E_ALL & ~E_NOTICE);
                    >>
                    >>// Connect and select.
                    >>if ($dbc = mysql_connect ('localhost', 'kirewire', 'erikwire')) {
                    >>
                    >> if (!mysql_select_ db ('kirewire_tpp' )) {
                    >> die ('<p>Could select the database because: <b>' . mysql_error() .
                    >>'</b></p>');
                    >> }
                    >>
                    >>} else {
                    >> die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                    >>'</b></p>');
                    >>
                    >>
                    >>$query = SELECT body from home;
                    >>
                    >> print "<p><h3>{$$quer y}</h3>
                    >> </p><hr />\n";
                    >> }
                    >>
                    >>mysql_close() ; // Close the database connection.
                    >>?>
                    >>so many sites so little time wrote:
                    >>
                    >>>im really stuck what would work in this case all im trying to do with
                    >>>that $show is to query the data base to select from table home the info
                    >>>in column body and print it to the screen
                    >>>so many sites so little time wrote:
                    >>>
                    >>>>woops sorry its /tpp why isnt it valid syntax :( pay so much for books
                    >>>>that lie ;_;
                    >>>>Jerry Stuckle wrote:
                    >>>>
                    >>>>>so many sites so little time wrote:
                    >>>>>
                    >>>>>>to see a test of this go to www.kirewire.com/ttp/index.php
                    >>>>>>
                    >>>>>>so many sites so little time wrote:
                    >>>>>>
                    >>>>>>
                    >>>>>>>the table is head the colunm is called body
                    >>>>>>>
                    >>>>>>><?php //show_site.php
                    >>>>>>>// This script retrieves blog entries from the database.
                    >>>>>>>
                    >>>>>>>// Address error handing.
                    >>>>>>>ini_se t ('display_error s', 1);
                    >>>>>>>error_re porting (E_ALL & ~E_NOTICE);
                    >>>>>>>
                    >>>>>>>// Connect and select.
                    >>>>>>>if ($dbc = @mysql_connect ('localhost', 'username', 'password')) {
                    >>>>>>>
                    >>>>>>> if (!@mysql_select _db ('username_tpp' )) {
                    >>>>>>> die ('<p>Could select the database because: <b>' . mysql_error() .
                    >>>>>>>'</b></p>');
                    >>>>>>> }
                    >>>>>>>
                    >>>>>>>} else {
                    >>>>>>> die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                    >>>>>>>'</b></p>');
                    >>>>>>>}
                    >>>>>>>{
                    >>>>>>>if ($show = SELECT body from home;)
                    >>>>>>>
                    >>>>>>> print "<p><h3>{$show} </h3>
                    >>>>>>> </p><hr />\n";
                    >>>>>>> }
                    >>>>>>>
                    >>>>>>>mysql_cl ose(); // Close the database connection.
                    >>>>>>>?>
                    >>>>>>
                    >>>>>>
                    >>>>>Not Found
                    >>>>>The requested URL /ttp/index.php was not found on this server.
                    >>>>>
                    >>>>>Additional ly, a 404 Not Found error was encountered while trying to use
                    >>>>>an ErrorDocument to handle the request.
                    >>>>>Apache/1.3.37 Server at www.kirewire.com Port 80
                    >>>>>
                    >>>>>--
                    >>>>>========== ========
                    >>>>>Remove the "x" from my email address
                    >>>>>Jerry Stuckle
                    >>>>>JDS Computer Training Corp.
                    >>>>>jstucklex@ attglobal.net
                    >>>>>========== ========
                    >
                    >
                    Not Found
                    The requested URL /tpp2/index.php was not found on this server.

                    Additionally, a 404 Not Found error was encountered while trying to use
                    an ErrorDocument to handle the request.
                    Apache/1.3.37 Server at www.kirewire.com Port 80

                    And you'll get more help when you learn to post properly.


                    --
                    =============== ===
                    Remove the "x" from my email address
                    Jerry Stuckle
                    JDS Computer Training Corp.
                    jstucklex@attgl obal.net
                    =============== ===

                    Comment

                    • so many sites so little time

                      #11
                      Re: i dont understand why this wont run

                      gah sorry let me copy and paste it i didnt put it in the directory and
                      its such a stupid directory name that i keep forgetting exactly what it
                      is... http://kirewire.com/pp2/index.php
                      Jerry Stuckle wrote:
                      so many sites so little time wrote:
                      alright so this is where im at, i did this and now it says it works but
                      jerry knows that i resolved my problem earlier with
                      www.kirewire.com/tpp2/update_site.php now i just fixed the problem with
                      kirewire.com/tpp2/index.php but nothing shows up on the index site but
                      i get no errors on the index site it looks like this

                      if ($dbc = mysql_connect ('localhost', 'kirewire', 'erikwire')) {

                      if (!mysql_select_ db ('kirewire_tpp' )) {
                      die ('<p>Could select the database because: <b>' . mysql_error() .
                      '</b></p>');
                      }

                      } else {
                      die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                      '</b></p>');

                      }
                      $result = mysql_query ($query);

                      $query = 'SELECT * FROM home';

                      print "<p><h3>{$resul t}</h3>
                      </p><hr />\n";


                      mysql_close(); // Close the database connection.
                      ?>

                      on the update site it looks like this:

                      // Define the query.
                      $query = "Update home Set body = '($_POST)'";

                      // Execute the query.
                      if (@mysql_query ($query)) {
                      print '<p>Your site has been updated!.</p>';
                      } else {
                      print "<p>Sorry by your site could not be updated because: <b>" .
                      mysql_error() . "</b>. The query was $query.</p>";
                      }

                      mysql_close();

                      }

                      // Display the form.
                      ?>

                      so many sites so little time wrote:
                      >i tried to fix it getting
                      >Parse error: syntax error, unexpected T_STRING in
                      >/home/kirewire/public_html/pp2/index.php on line 222
                      >
                      >for
                      >
                      >...ini_set ('display_error s', 1);
                      >error_reportin g (E_ALL & ~E_NOTICE);
                      >
                      >// Connect and select.
                      >if ($dbc = mysql_connect ('localhost', 'kirewire', 'erikwire')) {
                      >
                      > if (!mysql_select_ db ('kirewire_tpp' )) {
                      > die ('<p>Could select the database because: <b>' . mysql_error() .
                      >'</b></p>');
                      > }
                      >
                      >} else {
                      > die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                      >'</b></p>');
                      >
                      >
                      >$query = SELECT body from home;
                      >
                      > print "<p><h3>{$$quer y}</h3>
                      > </p><hr />\n";
                      > }
                      >
                      >mysql_close( ); // Close the database connection.
                      >?>
                      >so many sites so little time wrote:
                      >
                      >>im really stuck what would work in this case all im trying to do with
                      >>that $show is to query the data base to select from table home the info
                      >>in column body and print it to the screen
                      >>so many sites so little time wrote:
                      >>
                      >>>woops sorry its /tpp why isnt it valid syntax :( pay so much for books
                      >>>that lie ;_;
                      >>>Jerry Stuckle wrote:
                      >>>
                      >>>>so many sites so little time wrote:
                      >>>>
                      >>>>>to see a test of this go to www.kirewire.com/ttp/index.php
                      >>>>>
                      >>>>>so many sites so little time wrote:
                      >>>>>
                      >>>>>
                      >>>>>>the table is head the colunm is called body
                      >>>>>>
                      >>>>>><?php //show_site.php
                      >>>>>>// This script retrieves blog entries from the database.
                      >>>>>>
                      >>>>>>// Address error handing.
                      >>>>>>ini_set ('display_error s', 1);
                      >>>>>>error_rep orting (E_ALL & ~E_NOTICE);
                      >>>>>>
                      >>>>>>// Connect and select.
                      >>>>>>if ($dbc = @mysql_connect ('localhost', 'username', 'password')) {
                      >>>>>>
                      >>>>>> if (!@mysql_select _db ('username_tpp' )) {
                      >>>>>> die ('<p>Could select the database because: <b>' . mysql_error() .
                      >>>>>>'</b></p>');
                      >>>>>> }
                      >>>>>>
                      >>>>>>} else {
                      >>>>>> die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                      >>>>>>'</b></p>');
                      >>>>>>}
                      >>>>>>{
                      >>>>>>if ($show = SELECT body from home;)
                      >>>>>>
                      >>>>>> print "<p><h3>{$show} </h3>
                      >>>>>> </p><hr />\n";
                      >>>>>> }
                      >>>>>>
                      >>>>>>mysql_clo se(); // Close the database connection.
                      >>>>>>?>
                      >>>>>
                      >>>>>
                      >>>>Not Found
                      >>>>The requested URL /ttp/index.php was not found on this server.
                      >>>>
                      >>>>Additionall y, a 404 Not Found error was encountered while trying to use
                      >>>>an ErrorDocument to handle the request.
                      >>>>Apache/1.3.37 Server at www.kirewire.com Port 80
                      >>>>
                      >>>>--
                      >>>>=========== =======
                      >>>>Remove the "x" from my email address
                      >>>>Jerry Stuckle
                      >>>>JDS Computer Training Corp.
                      >>>>jstucklex@a ttglobal.net
                      >>>>=========== =======
                      >
                      Not Found
                      The requested URL /tpp2/index.php was not found on this server.
                      >
                      Additionally, a 404 Not Found error was encountered while trying to use
                      an ErrorDocument to handle the request.
                      Apache/1.3.37 Server at www.kirewire.com Port 80
                      >
                      And you'll get more help when you learn to post properly.
                      >
                      >
                      --
                      =============== ===
                      Remove the "x" from my email address
                      Jerry Stuckle
                      JDS Computer Training Corp.
                      jstucklex@attgl obal.net
                      =============== ===

                      Comment

                      • so many sites so little time

                        #12
                        Re: i dont understand why this wont run

                        and the other one is http://kirewire.com/pp2/update_site.php
                        i just dont understand why that doesnt work i cant find anything that
                        would suggest that that shouldnt work.
                        so many sites so little time wrote:
                        gah sorry let me copy and paste it i didnt put it in the directory and
                        its such a stupid directory name that i keep forgetting exactly what it
                        is... http://kirewire.com/pp2/index.php
                        Jerry Stuckle wrote:
                        so many sites so little time wrote:
                        alright so this is where im at, i did this and now it says it works but
                        jerry knows that i resolved my problem earlier with
                        www.kirewire.com/tpp2/update_site.php now i just fixed the problem with
                        kirewire.com/tpp2/index.php but nothing shows up on the index site but
                        i get no errors on the index site it looks like this
                        >
                        if ($dbc = mysql_connect ('localhost', 'kirewire', 'erikwire')) {
                        >
                        if (!mysql_select_ db ('kirewire_tpp' )) {
                        die ('<p>Could select the database because: <b>' . mysql_error() .
                        '</b></p>');
                        }
                        >
                        } else {
                        die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                        '</b></p>');
                        >
                        }
                        $result = mysql_query ($query);
                        >
                        $query = 'SELECT * FROM home';
                        >
                        print "<p><h3>{$resul t}</h3>
                        </p><hr />\n";
                        >
                        >
                        mysql_close(); // Close the database connection.
                        ?>
                        >
                        on the update site it looks like this:
                        >
                        // Define the query.
                        $query = "Update home Set body = '($_POST)'";
                        >
                        // Execute the query.
                        if (@mysql_query ($query)) {
                        print '<p>Your site has been updated!.</p>';
                        } else {
                        print "<p>Sorry by your site could not be updated because: <b>" .
                        mysql_error() . "</b>. The query was $query.</p>";
                        }
                        >
                        mysql_close();
                        >
                        }
                        >
                        // Display the form.
                        ?>
                        >
                        so many sites so little time wrote:
                        >
                        >>i tried to fix it getting
                        >>Parse error: syntax error, unexpected T_STRING in
                        >>/home/kirewire/public_html/pp2/index.php on line 222
                        >>
                        >>for
                        >>
                        >>...ini_set ('display_error s', 1);
                        >>error_reporti ng (E_ALL & ~E_NOTICE);
                        >>
                        >>// Connect and select.
                        >>if ($dbc = mysql_connect ('localhost', 'kirewire', 'erikwire')) {
                        >>
                        >> if (!mysql_select_ db ('kirewire_tpp' )) {
                        >> die ('<p>Could select the database because: <b>' . mysql_error() .
                        >>'</b></p>');
                        >> }
                        >>
                        >>} else {
                        >> die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                        >>'</b></p>');
                        >>
                        >>
                        >>$query = SELECT body from home;
                        >>
                        >> print "<p><h3>{$$quer y}</h3>
                        >> </p><hr />\n";
                        >> }
                        >>
                        >>mysql_close() ; // Close the database connection.
                        >>?>
                        >>so many sites so little time wrote:
                        >>
                        >>>im really stuck what would work in this case all im trying to do with
                        >>>that $show is to query the data base to select from table home the info
                        >>>in column body and print it to the screen
                        >>>so many sites so little time wrote:
                        >>>
                        >>>>woops sorry its /tpp why isnt it valid syntax :( pay so much for books
                        >>>>that lie ;_;
                        >>>>Jerry Stuckle wrote:
                        >>>>
                        >>>>>so many sites so little time wrote:
                        >>>>>
                        >>>>>>to see a test of this go to www.kirewire.com/ttp/index.php
                        >>>>>>
                        >>>>>>so many sites so little time wrote:
                        >>>>>>
                        >>>>>>
                        >>>>>>>the table is head the colunm is called body
                        >>>>>>>
                        >>>>>>><?php //show_site.php
                        >>>>>>>// This script retrieves blog entries from the database.
                        >>>>>>>
                        >>>>>>>// Address error handing.
                        >>>>>>>ini_se t ('display_error s', 1);
                        >>>>>>>error_re porting (E_ALL & ~E_NOTICE);
                        >>>>>>>
                        >>>>>>>// Connect and select.
                        >>>>>>>if ($dbc = @mysql_connect ('localhost', 'username', 'password')) {
                        >>>>>>>
                        >>>>>>> if (!@mysql_select _db ('username_tpp' )) {
                        >>>>>>> die ('<p>Could select the database because: <b>' . mysql_error() .
                        >>>>>>>'</b></p>');
                        >>>>>>> }
                        >>>>>>>
                        >>>>>>>} else {
                        >>>>>>> die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                        >>>>>>>'</b></p>');
                        >>>>>>>}
                        >>>>>>>{
                        >>>>>>>if ($show = SELECT body from home;)
                        >>>>>>>
                        >>>>>>> print "<p><h3>{$show} </h3>
                        >>>>>>> </p><hr />\n";
                        >>>>>>> }
                        >>>>>>>
                        >>>>>>>mysql_cl ose(); // Close the database connection.
                        >>>>>>>?>
                        >>>>>>
                        >>>>>>
                        >>>>>Not Found
                        >>>>>The requested URL /ttp/index.php was not found on this server.
                        >>>>>
                        >>>>>Additional ly, a 404 Not Found error was encountered while trying to use
                        >>>>>an ErrorDocument to handle the request.
                        >>>>>Apache/1.3.37 Server at www.kirewire.com Port 80
                        >>>>>
                        >>>>>--
                        >>>>>========== ========
                        >>>>>Remove the "x" from my email address
                        >>>>>Jerry Stuckle
                        >>>>>JDS Computer Training Corp.
                        >>>>>jstucklex@ attglobal.net
                        >>>>>========== ========
                        >
                        >
                        Not Found
                        The requested URL /tpp2/index.php was not found on this server.

                        Additionally, a 404 Not Found error was encountered while trying to use
                        an ErrorDocument to handle the request.
                        Apache/1.3.37 Server at www.kirewire.com Port 80

                        And you'll get more help when you learn to post properly.


                        --
                        =============== ===
                        Remove the "x" from my email address
                        Jerry Stuckle
                        JDS Computer Training Corp.
                        jstucklex@attgl obal.net
                        =============== ===

                        Comment

                        • so many sites so little time

                          #13
                          Re: i dont understand why this wont run

                          ok here is the code i am working off of and they embed the h3 tag i
                          dont think larry ulman would lie to me :(

                          <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
                          <html xmlns="http://www.w3.org/1999/xhtml">
                          <head>
                          <meta http-equiv="content-type" content="text/html;
                          charset=iso-8859-1" />
                          <title>View My Blog</title>
                          </head>
                          <body>
                          <?php // Script 12.6 - view_blog.php
                          // This script retrieves blog entries from the database.

                          // Address error handing.
                          ini_set ('display_error s', 1);
                          error_reporting (E_ALL & ~E_NOTICE);

                          // Connect and select.
                          if ($dbc = @mysql_connect ('localhost', 'username', 'password')) {

                          if (!@mysql_select _db ('myblog')) {
                          die ('<p>Could select the database because: <b>' . mysql_error() .
                          '</b></p>');
                          }

                          } else {
                          die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                          '</b></p>');
                          }

                          // Define the query.
                          $query = 'SELECT * FROM blog_entries ORDER BY date_entered DESC';

                          if ($r = mysql_query ($query)) { // Run the query.

                          // Retrieve and print every record.
                          while ($row = mysql_fetch_arr ay ($r)) {
                          print "<p><h3>{$r ow['title']}</h3>
                          {$row['entry']}<br />
                          <a href=\"edit_ent ry.php?id={$row['blog_id']}\">Edit</a>
                          <a href=\"delete_e ntry.php?id={$r ow['blog_id']}\">Delete</a>
                          </p><hr />\n";
                          }

                          } else { // Query didn't run.
                          die ('<p>Could create the table because: <b>' . mysql_error() . "</b>.
                          The query was $query.</p>");
                          } // End of query IF.

                          mysql_close(); // Close the database connection.

                          ?>
                          </body>
                          </html>
                          <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
                          <html xmlns="http://www.w3.org/1999/xhtml">
                          <head>
                          <meta http-equiv="content-type" content="text/html;
                          charset=iso-8859-1" />
                          <title>View My Blog</title>
                          </head>
                          <body>
                          <?php // Script 12.6 - view_blog.php
                          // This script retrieves blog entries from the database.

                          // Address error handing.
                          ini_set ('display_error s', 1);
                          error_reporting (E_ALL & ~E_NOTICE);

                          // Connect and select.
                          if ($dbc = @mysql_connect ('localhost', 'username', 'password')) {

                          if (!@mysql_select _db ('myblog')) {
                          die ('<p>Could select the database because: <b>' . mysql_error() .
                          '</b></p>');
                          }

                          } else {
                          die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                          '</b></p>');
                          }

                          // Define the query.
                          $query = 'SELECT * FROM blog_entries ORDER BY date_entered DESC';

                          if ($r = mysql_query ($query)) { // Run the query.

                          // Retrieve and print every record.
                          while ($row = mysql_fetch_arr ay ($r)) {
                          print "<p><h3>{$r ow['title']}</h3>
                          {$row['entry']}<br />
                          <a href=\"edit_ent ry.php?id={$row['blog_id']}\">Edit</a>
                          <a href=\"delete_e ntry.php?id={$r ow['blog_id']}\">Delete</a>
                          </p><hr />\n";
                          }

                          } else { // Query didn't run.
                          die ('<p>Could create the table because: <b>' . mysql_error() . "</b>.
                          The query was $query.</p>");
                          } // End of query IF.

                          mysql_close(); // Close the database connection.

                          ?>
                          </body>
                          </html>


                          so many sites so little time wrote:
                          gah sorry let me copy and paste it i didnt put it in the directory and
                          its such a stupid directory name that i keep forgetting exactly what it
                          is... http://kirewire.com/pp2/index.php
                          Jerry Stuckle wrote:
                          so many sites so little time wrote:
                          alright so this is where im at, i did this and now it says it works but
                          jerry knows that i resolved my problem earlier with
                          www.kirewire.com/tpp2/update_site.php now i just fixed the problem with
                          kirewire.com/tpp2/index.php but nothing shows up on the index site but
                          i get no errors on the index site it looks like this
                          >
                          if ($dbc = mysql_connect ('localhost', 'kirewire', 'erikwire')) {
                          >
                          if (!mysql_select_ db ('kirewire_tpp' )) {
                          die ('<p>Could select the database because: <b>' . mysql_error() .
                          '</b></p>');
                          }
                          >
                          } else {
                          die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                          '</b></p>');
                          >
                          }
                          $result = mysql_query ($query);
                          >
                          $query = 'SELECT * FROM home';
                          >
                          print "<p><h3>{$resul t}</h3>
                          </p><hr />\n";
                          >
                          >
                          mysql_close(); // Close the database connection.
                          ?>
                          >
                          on the update site it looks like this:
                          >
                          // Define the query.
                          $query = "Update home Set body = '($_POST)'";
                          >
                          // Execute the query.
                          if (@mysql_query ($query)) {
                          print '<p>Your site has been updated!.</p>';
                          } else {
                          print "<p>Sorry by your site could not be updated because: <b>" .
                          mysql_error() . "</b>. The query was $query.</p>";
                          }
                          >
                          mysql_close();
                          >
                          }
                          >
                          // Display the form.
                          ?>
                          >
                          so many sites so little time wrote:
                          >
                          >>i tried to fix it getting
                          >>Parse error: syntax error, unexpected T_STRING in
                          >>/home/kirewire/public_html/pp2/index.php on line 222
                          >>
                          >>for
                          >>
                          >>...ini_set ('display_error s', 1);
                          >>error_reporti ng (E_ALL & ~E_NOTICE);
                          >>
                          >>// Connect and select.
                          >>if ($dbc = mysql_connect ('localhost', 'kirewire', 'erikwire')) {
                          >>
                          >> if (!mysql_select_ db ('kirewire_tpp' )) {
                          >> die ('<p>Could select the database because: <b>' . mysql_error() .
                          >>'</b></p>');
                          >> }
                          >>
                          >>} else {
                          >> die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                          >>'</b></p>');
                          >>
                          >>
                          >>$query = SELECT body from home;
                          >>
                          >> print "<p><h3>{$$quer y}</h3>
                          >> </p><hr />\n";
                          >> }
                          >>
                          >>mysql_close() ; // Close the database connection.
                          >>?>
                          >>so many sites so little time wrote:
                          >>
                          >>>im really stuck what would work in this case all im trying to do with
                          >>>that $show is to query the data base to select from table home the info
                          >>>in column body and print it to the screen
                          >>>so many sites so little time wrote:
                          >>>
                          >>>>woops sorry its /tpp why isnt it valid syntax :( pay so much for books
                          >>>>that lie ;_;
                          >>>>Jerry Stuckle wrote:
                          >>>>
                          >>>>>so many sites so little time wrote:
                          >>>>>
                          >>>>>>to see a test of this go to www.kirewire.com/ttp/index.php
                          >>>>>>
                          >>>>>>so many sites so little time wrote:
                          >>>>>>
                          >>>>>>
                          >>>>>>>the table is head the colunm is called body
                          >>>>>>>
                          >>>>>>><?php //show_site.php
                          >>>>>>>// This script retrieves blog entries from the database.
                          >>>>>>>
                          >>>>>>>// Address error handing.
                          >>>>>>>ini_se t ('display_error s', 1);
                          >>>>>>>error_re porting (E_ALL & ~E_NOTICE);
                          >>>>>>>
                          >>>>>>>// Connect and select.
                          >>>>>>>if ($dbc = @mysql_connect ('localhost', 'username', 'password')) {
                          >>>>>>>
                          >>>>>>> if (!@mysql_select _db ('username_tpp' )) {
                          >>>>>>> die ('<p>Could select the database because: <b>' . mysql_error() .
                          >>>>>>>'</b></p>');
                          >>>>>>> }
                          >>>>>>>
                          >>>>>>>} else {
                          >>>>>>> die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                          >>>>>>>'</b></p>');
                          >>>>>>>}
                          >>>>>>>{
                          >>>>>>>if ($show = SELECT body from home;)
                          >>>>>>>
                          >>>>>>> print "<p><h3>{$show} </h3>
                          >>>>>>> </p><hr />\n";
                          >>>>>>> }
                          >>>>>>>
                          >>>>>>>mysql_cl ose(); // Close the database connection.
                          >>>>>>>?>
                          >>>>>>
                          >>>>>>
                          >>>>>Not Found
                          >>>>>The requested URL /ttp/index.php was not found on this server.
                          >>>>>
                          >>>>>Additional ly, a 404 Not Found error was encountered while trying to use
                          >>>>>an ErrorDocument to handle the request.
                          >>>>>Apache/1.3.37 Server at www.kirewire.com Port 80
                          >>>>>
                          >>>>>--
                          >>>>>========== ========
                          >>>>>Remove the "x" from my email address
                          >>>>>Jerry Stuckle
                          >>>>>JDS Computer Training Corp.
                          >>>>>jstucklex@ attglobal.net
                          >>>>>========== ========
                          >
                          >
                          Not Found
                          The requested URL /tpp2/index.php was not found on this server.

                          Additionally, a 404 Not Found error was encountered while trying to use
                          an ErrorDocument to handle the request.
                          Apache/1.3.37 Server at www.kirewire.com Port 80

                          And you'll get more help when you learn to post properly.


                          --
                          =============== ===
                          Remove the "x" from my email address
                          Jerry Stuckle
                          JDS Computer Training Corp.
                          jstucklex@attgl obal.net
                          =============== ===

                          Comment

                          • so many sites so little time

                            #14
                            Re: i dont understand why this wont run

                            this is the statement im using now and it looks clean to me but doenst
                            work and doesnt give me an error

                            $query = 'SELECT * FROM home';

                            if ($result = mysql_query ($query))

                            print "<p><h3>{$resul t}</h3>
                            </p><hr />\n";
                            }

                            so im guessing that ($result doesnt = mysql_query (query))
                            but why what am i doing wrong?
                            so many sites so little time wrote:
                            and the other one is http://kirewire.com/pp2/update_site.php
                            i just dont understand why that doesnt work i cant find anything that
                            would suggest that that shouldnt work.
                            so many sites so little time wrote:
                            gah sorry let me copy and paste it i didnt put it in the directory and
                            its such a stupid directory name that i keep forgetting exactly what it
                            is... http://kirewire.com/pp2/index.php
                            Jerry Stuckle wrote:
                            so many sites so little time wrote:
                            alright so this is where im at, i did this and now it says it works but
                            jerry knows that i resolved my problem earlier with
                            www.kirewire.com/tpp2/update_site.php now i just fixed the problem with
                            kirewire.com/tpp2/index.php but nothing shows up on the index site but
                            i get no errors on the index site it looks like this

                            if ($dbc = mysql_connect ('localhost', 'kirewire', 'erikwire')) {

                            if (!mysql_select_ db ('kirewire_tpp' )) {
                            die ('<p>Could select the database because: <b>' . mysql_error() .
                            '</b></p>');
                            }

                            } else {
                            die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                            '</b></p>');

                            }
                            $result = mysql_query ($query);

                            $query = 'SELECT * FROM home';

                            print "<p><h3>{$resul t}</h3>
                            </p><hr />\n";


                            mysql_close(); // Close the database connection.
                            ?>

                            on the update site it looks like this:

                            // Define the query.
                            $query = "Update home Set body = '($_POST)'";

                            // Execute the query.
                            if (@mysql_query ($query)) {
                            print '<p>Your site has been updated!.</p>';
                            } else {
                            print "<p>Sorry by your site could not be updated because: <b>" .
                            mysql_error() . "</b>. The query was $query.</p>";
                            }

                            mysql_close();

                            }

                            // Display the form.
                            ?>

                            so many sites so little time wrote:

                            >i tried to fix it getting
                            >Parse error: syntax error, unexpected T_STRING in
                            >/home/kirewire/public_html/pp2/index.php on line 222
                            >
                            >for
                            >
                            >...ini_set ('display_error s', 1);
                            >error_reportin g (E_ALL & ~E_NOTICE);
                            >
                            >// Connect and select.
                            >if ($dbc = mysql_connect ('localhost', 'kirewire', 'erikwire')) {
                            >
                            > if (!mysql_select_ db ('kirewire_tpp' )) {
                            > die ('<p>Could select the database because: <b>' . mysql_error() .
                            >'</b></p>');
                            > }
                            >
                            >} else {
                            > die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                            >'</b></p>');
                            >
                            >
                            >$query = SELECT body from home;
                            >
                            > print "<p><h3>{$$quer y}</h3>
                            > </p><hr />\n";
                            > }
                            >
                            >mysql_close( ); // Close the database connection.
                            >?>
                            >so many sites so little time wrote:
                            >
                            >>im really stuck what would work in this case all im trying to do with
                            >>that $show is to query the data base to select from table home the info
                            >>in column body and print it to the screen
                            >>so many sites so little time wrote:
                            >>
                            >>>woops sorry its /tpp why isnt it valid syntax :( pay so much for books
                            >>>that lie ;_;
                            >>>Jerry Stuckle wrote:
                            >>>
                            >>>>so many sites so little time wrote:
                            >>>>
                            >>>>>to see a test of this go to www.kirewire.com/ttp/index.php
                            >>>>>
                            >>>>>so many sites so little time wrote:
                            >>>>>
                            >>>>>
                            >>>>>>the table is head the colunm is called body
                            >>>>>>
                            >>>>>><?php //show_site.php
                            >>>>>>// This script retrieves blog entries from the database.
                            >>>>>>
                            >>>>>>// Address error handing.
                            >>>>>>ini_set ('display_error s', 1);
                            >>>>>>error_rep orting (E_ALL & ~E_NOTICE);
                            >>>>>>
                            >>>>>>// Connect and select.
                            >>>>>>if ($dbc = @mysql_connect ('localhost', 'username', 'password')) {
                            >>>>>>
                            >>>>>> if (!@mysql_select _db ('username_tpp' )) {
                            >>>>>> die ('<p>Could select the database because: <b>' . mysql_error() .
                            >>>>>>'</b></p>');
                            >>>>>> }
                            >>>>>>
                            >>>>>>} else {
                            >>>>>> die ('<p>Could not connect to MySQL because: <b>' . mysql_error() .
                            >>>>>>'</b></p>');
                            >>>>>>}
                            >>>>>>{
                            >>>>>>if ($show = SELECT body from home;)
                            >>>>>>
                            >>>>>> print "<p><h3>{$show} </h3>
                            >>>>>> </p><hr />\n";
                            >>>>>> }
                            >>>>>>
                            >>>>>>mysql_clo se(); // Close the database connection.
                            >>>>>>?>
                            >>>>>
                            >>>>>
                            >>>>Not Found
                            >>>>The requested URL /ttp/index.php was not found on this server.
                            >>>>
                            >>>>Additionall y, a 404 Not Found error was encountered while trying to use
                            >>>>an ErrorDocument to handle the request.
                            >>>>Apache/1.3.37 Server at www.kirewire.com Port 80
                            >>>>
                            >>>>--
                            >>>>=========== =======
                            >>>>Remove the "x" from my email address
                            >>>>Jerry Stuckle
                            >>>>JDS Computer Training Corp.
                            >>>>jstucklex@a ttglobal.net
                            >>>>=========== =======


                            >
                            Not Found
                            The requested URL /tpp2/index.php was not found on this server.
                            >
                            Additionally, a 404 Not Found error was encountered while trying to use
                            an ErrorDocument to handle the request.
                            Apache/1.3.37 Server at www.kirewire.com Port 80
                            >
                            And you'll get more help when you learn to post properly.
                            >
                            >
                            --
                            =============== ===
                            Remove the "x" from my email address
                            Jerry Stuckle
                            JDS Computer Training Corp.
                            jstucklex@attgl obal.net
                            =============== ===

                            Comment

                            • Erwin Moller

                              #15
                              Re: i dont understand why this wont run

                              Hi,

                              [Start Just a friendly word of advise.]
                              You might get luckier if you follow Jerry's advise and post properly.
                              This thread you created is a mess, and I gave up at trying to follow your
                              line of thought/problem somewhere at the end.

                              Please make sure you understand WHAT you are doing, then make a posting that
                              clearly describes your problem.
                              I don't think many in here will read through your whole thread with code,
                              corrections on the code, new code, top-postings, questions, wrong url, new
                              code, etc.
                              It is just too messy. (No offense intended)
                              [End Just a friendly word of advise.]

                              Now please restate your problem in a clear way in a fresh thread.


                              Regards,
                              Erwin Moller

                              Comment

                              Working...