Closed Thread
Results 1 to 4 of 4

Thread: Urgent: PHP Problem
      
   

  1. #1
    Gray's Avatar
    Gray is offline Sergeant
    Join Date
    Jul 2005
    Location
    Texas
    Posts
    30

    Default 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. #2
    VodaHost's Avatar
    VodaHost is offline General & Forum Administrator
    Join Date
    Mar 2005
    Location
    Wilmington, Delaware USA
    Posts
    11,390

    Default 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
    07031847328 / United Kingdom

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

    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)



  3. #3
    Gray's Avatar
    Gray is offline Sergeant
    Join Date
    Jul 2005
    Location
    Texas
    Posts
    30

    Default 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!

  4. #4
    Brad's Avatar
    Brad is offline Forum Administrator
    Join Date
    Jun 2005
    Location
    Wilmington, Delaware
    Posts
    525

    Default Re: Urgent: PHP Problem

    thread closed

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

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

    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)



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49