php help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • The Professional
    Confirmed User
    • Oct 2002
    • 520

    #1

    php help

    I'm trying to include a few php files on my main page but only the first one seems to get included properly...

    any idea's.... please message me at 15156789
    url: http://www.pinkpornography.com

    Pro
  • fuzebox
    making it rain
    • Oct 2003
    • 22352

    #2
    Would have to see the code, but it looks like you've forgotten to open a <?php tag, or have mismatched quotes somewhere.

    Comment

    • spentrent
      Confirmed User
      • Feb 2004
      • 876

      #3
      Show the code.

      Comment

      • The Professional
        Confirmed User
        • Oct 2002
        • 520

        #4
        <?php
        $total_thumbs = 1;
        $columns = 1;
        $links=File("cumfiesta.txt");

        // Do Randomization
        srand((double)microtime()*1000000);
        shuffle($links);
        srand((double)microtime()*1000000);
        shuffle($links);

        // Heres the start of the table
        echo("<table cellspacing=0 cellpadding=0 border=0>");
        $i = 0;
        while ($i < $total_thumbs) {

        // Heres the Start of a Table Row
        echo ("<tr>");
        for ($j=0; $j<$columns; $j++) {

        // The Start of a Table Cell
        echo("<td align='center'>{$links[$i]}</td>");
        $i++;
        }
        echo ("</tr>");
        }
        echo("</table>");
        ?>

        Comment

        • The Professional
          Confirmed User
          • Oct 2002
          • 520

          #5
          fuck that didn't come out right at all

          Comment

          • The Professional
            Confirmed User
            • Oct 2002
            • 520

            #6
            [PHP]<?php
            $total_thumbs = 1;
            $columns = 1;
            $links=File("cumfiesta.txt");

            // Do Randomization
            srand((double)microtime()*1000000);
            shuffle($links);
            srand((double)microtime()*1000000);
            shuffle($links);

            // Heres the start of the table
            echo("<table cellspacing=0 cellpadding=0 border=0>");
            $i = 0;
            while ($i < $total_thumbs) {

            // Heres the Start of a Table Row
            echo ("<tr>");
            for ($j=0; $j<$columns; $j++) {

            // The Start of a Table Cell
            echo("<td align='center'>{$links[$i]}</td>");
            $i++;
            }
            echo ("</tr>");
            }
            echo("</table>");
            ?>

            Comment

            • The Professional
              Confirmed User
              • Oct 2002
              • 520

              #7
              PHP Code:
              <?php
              $total_thumbs = 1;
              $columns = 1;
              $links=File("cumfiesta.txt");
              
              // Do Randomization
              srand((double)microtime()*1000000);
              shuffle($links);
              srand((double)microtime()*1000000);
              shuffle($links);
              
              // Heres the start of the table
              echo("<table cellspacing=0 cellpadding=0 border=0>");    
              $i = 0;
              while ($i < $total_thumbs) {
                  
                  // Heres the Start of a Table Row
                  echo ("<tr>");
                      for ($j=0; $j<$columns; $j++) { 
                          
                          // The Start of a Table Cell 
                          echo("<td align='center'>{$links[$i]}</td>");
                          $i++;
                      }
                  echo ("</tr>");
              }
              echo("</table>");    
              ?>

              Comment

              • Ash@phpFX
                Confirmed User
                • Nov 2003
                • 4292

                #8
                icqing now...

                Comment

                Working...