anyone know PHP?

Discussion in 'Off-Topic' started by addiosamigo, Mar 29, 2012.

  1. addiosamigo
    Offline

    addiosamigo iPad Junkie

    Joined:
    Oct 25, 2010
    Messages:
    959
    Thanks Received:
    15
    Trophy Points:
    0
    Ratings:
    +15 / 0
    I need some help, trying to add my CSS style sheet to a script I have written:

    PHP:
    <?php$search $_POST ['Search'];$file 'Right Click for options';
    mysql_connect("localhost""root""") or die ("Error Connecting to Database");mysql_select_db("testing") or die('Error');$data mysql_query("SELECT * FROM Files  WHERE FileName OR KeyWords LIKE '%".$search."%'")or die('Error');
    include 
    'mail.php';
    Print 
    "<h2>Search Results:</h2>";
    Print 
    "<table border cellpadding=3>";while($info mysql_fetch_array$data )){Print "<tr>";Print "<th>File:</th> <td>".$info['FileName'] . "</td> ";Print "<td><a href='".$info['PathToFile'] . "'>$file</a></td>";
    }Print 
    "</table>";
    ?>
    anyone know how I can do this??

    Thanks
Similar Threads
  1. Tarah
    Replies:
    9
    Views:
    1,257
  2. titan pad
    Replies:
    5
    Views:
    1,444
  3. Pinkipad
    Replies:
    5
    Views:
    5,505
  4. Pidjengirl
    Replies:
    4
    Views:
    1,146
  5. Jean0510
    Replies:
    0
    Views:
    1,213
Loading...

Share This Page