Announcement

Collapse
No announcement yet.

Urgent: PHP Problem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Urgent: PHP Problem

    I am using the following PHP script on my website and I get a Parse Error on the Bold Line of the Script.


    PHP Code:
     <html>
    <head>
    <META HTTP-EQUIV="REFRESH" CONTENT="60;URL=index.php">
    <style type="text/css">
    h3 {font-family: Comic Sans MS}
    h3 {font-size: 12}
    p {font-family: courier}
    p.sansserif {font-family: sans-serif}
    </style>
    </head>
    <body>
    <?php
    //////////////////////////////////////////////////////////////////////////////
    // DJ Status v1.8.2             //
    // ©2005 Nathan Bolender www.nathanbolender.com        //
    // Free to use on any website            //
    //////////////////////////////////////////////////////////////////////////////
     
    include ("config.php");
    if (
    $scsuccs!=1) {
    if(
    $streamstatus == "1"){
    if (isset(
    $dj)) {
    echo 
    "
    <BODY BGCOLOR=#F8AC18> <FONT SIZE=2> <FONT COLOR=#1A1364> <b> <h3> Current Title</b>: 
    $servertitle <br>
    <b>Current Song:</b> 
    $song[0]<br>
    <b>Current DJ</b>: 
    $name<br> 
    "
    ;
     
    if ((empty(
    $aimdb)) && (isset($aim) && $aim) && ($aim != "N/A")) {
    $aimdb $aim;
    }
    if ((empty(
    $icqdb)) && (isset($icq) && $icq)) {
    $icqdb $icq;
    }
    if (isset(
    $aimdb) && $aimdb) {
    echo 
    "<b>AIM</b>: $aimdb<br>";
    }
    if (isset(
    $msn) && $msn) {
    echo 
    "<b>MSN</b>: $msn<br>";
    }
    if (isset(
    $yim) && $yim) {
    echo 
    "<b>YIM</b>: $yim<br>";
    }
     
    echo 
    "<A HREF=http://www.theeagleradio.net> Home </A>;
     
    if (
    $showsetby == 1) {
    echo "
    <br><br><b>This DJ was found by checking:</b$setby";
    }
     
     
     
    ?>
    </body>
    </html>
    <html>
    <head>
    <style type="
    text/css">
    h3 {font-family: Comic Sans MS}
    h3 {font-size: 12}
    p {font-family: courier}
    p.sansserif {font-family: sans-serif}
    </style>
    </head>
    <body>
    <?php
     
    } else {
    echo " 
    <h3> <BODY BGCOLOR=FCB00D";
    }
    } else {
    echo "
    <BODY BGCOLOR=FCB00D";
    }
    } else {
    echo "
    <BODY BGCOLOR=FCB00D> </h3"; 
    }
    ?>
    </body>
    </html>
    Here is the Line That the Error is Occuring On:

    PHP Code:
     
    echo "<A HREF=http://www.theeagleradio.net> Home </A>; 
    The Eagle Radio! Playing the Best Hits From Rock to Oldies!

    Click Here to Tune In Using Winamp Player!

    Click Here to Tune in Using Real Player!

  • #2
    Re: Urgent: PHP Problem

    the below is what you have...

    "<A HREF=http://www.theeagleradio.net> Home </A>;

    try

    "<A HREF=http://www.theeagleradio.net> Home </A>;"


    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    02036089024 / United Kingdom
    291916438 / Australia

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


    Comment


    • #3
      Re: Urgent: PHP Problem

      Yes I finnally figured that out after a few hours lol
      Thanks!
      The Eagle Radio! Playing the Best Hits From Rock to Oldies!

      Click Here to Tune In Using Winamp Player!

      Click Here to Tune in Using Real Player!

      Comment


      • #4
        Re: Urgent: PHP Problem

        thread closed

        VodaHost

        Your Website People!
        1-302-283-3777 North America / International
        02036089024 / United Kingdom
        291916438 / Australia

        ------------------------

        Top 3 Best Sellers

        Web Hosting - Unlimited disk space & bandwidth.

        Reseller Hosting - Start your own web hosting business.

        Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


        Comment

        Working...
        X