Jump to content

runnerjp

Members
  • Posts

    2,214
  • Joined

  • Last visited

Posts posted by runnerjp

  1. hey hey
    ok if u look at my website at mo [url=http://www.runnerselite.com]www.runnerselite.com[/url]
    you will notice that the info from [code]<?php ssi_recentTopics(); ?>[/code]
    which at the mo is
    General Discussion]  Welcome to SMF! by Simple Machines  Today at 02:03:54 PM 

    does not fit into the area i want it to in nav bar...how can i make it so the data fits nicely into the nav bar???
  2. hey////

        i added this to my homepage <?php include("http://runnerselite.com/forum/ssi.php?a=news&show=10"); ?> so that i could get top 10 posts from my smf forum

    and when i access my page all i get is this error message

    Warning: main(http://runnerselite.com/forum/ssi.php?a=news&show=10): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/runnerse/public_html/index.php on line 76


    what does it mean :S
  3. ok i did all that u said

    [code]<?php
    #################################
    include("chatbox/connect.php");
    #################################

    mysql_connect($host,$dbuser,$dbpass) or die(mysql_error());
    // Select the database.
    mysql_select_db($dbname) or die(mysql_error());
    $query = "SELECT poster, message FROM ch_messages order by id DESC LIMIT 5";
    $result = mysql_query($query);
    $marquee = "";
    $i = 0;
    while($r=mysql_fetch_array($result))
    {
      $posts[$i] = $r[poster].' - '. $r[message]. '';
      ++$i;
    }
    $marquee = implode("<img src='http://www.runnerselite.com/image/runner.gif'>", $posts) ?

    echo "<marquee><font size='3'><span style='color: white'>". $marquee. "</span></font></marquee>";

    ?>
    [/code]

    yet still an error on lien 20 :S
  4. Parse error: syntax error, unexpected T_ECHO in /home/runnerse/public_html/chatbox/maq.php on line 20

    [code]<?php
    #################################
    include("chatbox/connect.php");
    #################################

    mysql_connect($host,$dbuser,$dbpass) or die(mysql_error());
    // Select the database.
    mysql_select_db($dbname) or die(mysql_error());
    $query = "SELECT poster, message FROM ch_messages order by id DESC LIMIT 5";
    $result = mysql_query($query);
    $marquee = "";
    $i = 0;
    while($r=mysql_fetch_array($result))
    {
      $posts[$i] = $r[poster].' - '. $r[message]. '';
      ++$i;
    }
    $marquee = implode("<img src='http://www.runnerselite.com/image/runner.gif'>", $posts)

    echo "<marquee><font size='3'><span style='color: white'>". $marquee. "</span></font></marquee>"

    ?>code][/code]
  5. nope it didnt :( lol rite what i mean is it says 1st message then streight 2 second then massive lag till it loops over again like so

    [move]hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                hello this is my 1st message...this is my second message                                [/move]
  6. ok i added

    [code]<?php
    #################################
    include("chatbox/connect.php");
    #################################

    mysql_connect($host,$dbuser,$dbpass) or die(mysql_error());
    // Select the database.
    mysql_select_db($dbname) or die(mysql_error());
    $query = "SELECT poster, message FROM ch_messages order by id DESC LIMIT 5";
    $result = mysql_query($query);
    $marquee = "";
    $i = 0;
    while($r=mysql_fetch_array($result))
    {
      $posts[$i] = "<img src='http://www.runnerselite.com/image/runner.gif'>".$r[poster].' - '. $r[message];
      ++$i;
    }
    $marquee = implode("", $posts)."<img src='http://www.runnerselite.com/image/runner.gif'>";
    }
    echo "<marquee><font size='3'><span style='color: white'>". $marquee. "</span></font></marquee>"

    ?>[/code]

    and still its not showin up :( error on line 19
  7. [code]<?php
    #################################
    include("chatbox/connect.php");
    #################################

    mysql_connect($host,$dbuser,$dbpass) or die(mysql_error());
    // Select the database.
    mysql_select_db($dbname) or die(mysql_error());
    $query = "SELECT poster, message FROM ch_messages order by id DESC LIMIT 5";
    $result = mysql_query($query);
    $marquee = "";
    $i = 0;
    while($r=mysql_fetch_array($result))
    {
      $posts[$i] = $r[poster].' - '. $r[message]. '';
      ++$i;
    }
    $marquee = implode("<img src='http://www.runnerselite.com/image/runner.gif'>", $posts)
    }
    echo "<marquee><font size='3'><span style='color: white'>". $marquee. "</span></font></marquee>"

    ?>code][/code]

    thats code....since i added the picture script its all gone got an error on 19th line
  8. white text works... pciture doesnt :(

    [code]<?php
    #################################
    include("chatbox/connect.php");
    #################################

    mysql_connect($host,$dbuser,$dbpass) or die(mysql_error());
    // Select the database.
    mysql_select_db($dbname) or die(mysql_error());
    $query = "SELECT poster, message FROM ch_messages order by id DESC LIMIT 5";
    $result = mysql_query($query);
    $marquee = "";
    $i = 0;
    while($r=mysql_fetch_array($result))
    {
      $posts[$i] = $r[poster].' - '. $r[message]. '';
      ++$i;
    }
    $marquee = implode("<img src='http://www.runnerselite.com/image/runner.gif'>", $posts)
    }
    echo "<marquee><font size='3'><span style='color: white'>". $marquee. "</span></font></marquee>"

    ?>code]

    error on line 19[/code]
×
×
  • 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.