Visualizzazione risultati 1 fino 18 di 18

Discussione: Parse error

  1. #1
    Guest

    Predefinito Parse error

    Salve a tutti! Ho 3 file di cui il primo lists.php mi fa questa scritta
    Parse error: syntax error, unexpected $end in /membri/universal3000/afta/web/lists.php on line 302
    Codice PHP:
    echo $rets;
    }
    echo
    "</p>";
    ////// UNTILL HERE >>
    echo "<p align=\"center\">";
    echo
    "<b>9 </b><a accesskey=\"9\" href=\"index.php?action=stats&amp;sid=$sid\"><img src=\"../images/stat.gif\" alt=\"\"/>Site Stats</a><br/>";
    echo
    "<b>0 </b><a accesskey=\"0\" href=\"index.php?action=stats&amp;sid=$sid\"><img src=\"../images/stat.gif\" alt=\"\"/>Site Stats</a><br/>";

    echo
    "</p>";
    echo
    "</body>";
    ?>
    </html>

  2. #2
    Guest

    Predefinito

    il secondo è il file status.php
    Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /membri/universal3000/afta/web/status.php on line 26
    Codice PHP:
    <?php
    header
    ("Cache-Control: no-cache, must-revalidate");
    header("Pragma: no-cache");
    //header('Content-type: application/vnd.wap.xhtml+xml');
    echo "<?xml version=\"1.0\"?>";
    echo
    "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
    include(
    "config.php");
    include(
    "core.php");
    connectdb();
    $noob = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses<10"));
    $snoob = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>=10 AND plusses<25"));
    $tyro = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>=25 AND plusses<50"));
    $member = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>=50 AND plusses<75"));
    $amem = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>=75 AND plusses<250"));
    $vital = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>=250 AND plusses<500"));
    $vein = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>=500 AND plusses<750"));
    $guru = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>=750 AND plusses<1000"));
    $vip = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>=1000 AND plusses<1500"));
    $fan = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>=1500 AND plusses<2000"));
    $pio = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>=2000 AND plusses<2500"));
    $vate = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>=2500 AND plusses<3000"));
    $tre = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>=3000 AND plusses<4000"));
    $master = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>=4000 AND plusses<5000"));
    $icon = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>=5000 AND plusses<10000"));
    $mor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>=10000"));
    echo
    "<html xmlns="http://www.w3.org/1999/xhtml">";
    echo "<head>";
    echo
    "<title>Status</title>";
    echo
    "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white_medium.css\">";
    echo
    "</head>";
    echo
    "<body>";
    echo
    "<p>";
    echo
    "<br/>";
    echo
    "</p>";
    echo
    "<p align=\"center\">";
    echo
    "<b>0 </b><a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
    echo
    "</p>";
    echo
    "</body>";
    echo
    "</html>";
    ?>

  3. #3
    Guest

    Predefinito

    e il terzo file è time.php
    Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /membri/universal3000/afta/web/time.php on line 9
    Codice PHP:
    <?php
    header
    ("Cache-Control: no-cache, must-revalidate");
    header("Pragma: no-cache");
    //header('Content-type: application/vnd.wap.xhtml+xml');
    echo "<?xml version=\"1.0\"?>";
    echo
    "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
    $New_Time = time() + (0 * 60 * 60);
    $time=date("H:i",$New_Time);
    echo
    "<html xmlns="http://www.w3.org/1999/xhtml">";
    ?>
    <head>
    <title>Time Zones</title>
    <link rel="stylesheet" type="text/css" href="../themes/white_medium.css">
    </head>
    <body>
    <p align="center">
    <?
    $gerNew_Time
    = time() + (0 * 60 * 60);
    $gertime=date("H:i",$gerNew_Time);
    echo
    "<br/>Berlin, Paris, Rome, Johhanesburg: $gertime";
    $helNew_Time = time() + (1 * 60 * 60);
    $heltime=date("H:i",$helNew_Time);
    echo
    "<br/>Helsinki, Ankara, Capetown: $heltime";
    $mosNew_Time = time() + (2 * 60 * 60);
    $mostime=date("H:i",$mosNew_Time);
    echo
    "<br/>Moscow, St. Petersburg, Baghdad: $mostime";
    $banNew_Time = time() + (6 * 60 * 60);
    $bantime=date("H:i",$banNew_Time);
    echo
    "<br/>Bangkok, Jakarta: $bantime";
    $bjinNew_Time = time() + (7 * 60 * 60);
    $bjintime=date("H:i",$bjinNew_Time);
    echo
    "<br/>Beijing: $bjintime";
    $tokNew_Time = time() + (8 * 60 * 60);
    $toktime=date("H:i",$tokNew_Time);
    echo
    "<br/>Tokyo, Seoul: $toktime";
    $sydNew_Time = time() + (9 * 60 * 60);
    $sydtime=date("H:i",$sydNew_Time);
    echo
    "<br/>Sydney: $sydtime";
    $welNew_Time = time() + (11 * 60 * 60);
    $weltime=date("H:i",$welNew_Time);
    echo
    "<br/>Wellington, Auckland: $weltime";
    $alsNew_Time = time() + (14 * 60 * 60);
    $alstime=date("H:i",$alsNew_Time);
    echo
    "<br/>Alaska: $alstime";
    $seaNew_Time = time() + (15 * 60 * 60);
    $seatime=date("H:i",$seaNew_Time);
    echo
    "<br/>Seattle, San Fransisco, LA: $seatime";
    $slcNew_Time = time() + (16 * 60 * 60);
    $slctime=date("H:i",$slcNew_Time);
    echo
    "<br/>SaltLake City, Phoenix, LA: $slctime";
    $chicNew_Time = time() + (17 * 60 * 60);
    $chictime=date("H:i",$chicNew_Time);
    echo
    "<br/>Chicago, Dallas, Mexico LA: $chictime";
    $nycNew_Time = time() + (18 * 60 * 60);
    $nyctime=date("H:i",$nycNew_Time);
    echo
    "<br/>New York, Miami, Quebec: $nyctime";
    $bNew_Time = time() + (20 * 60 * 60);
    $btime=date("H:i",$bNew_Time);
    echo
    "<br/>Beunos Aires, Brasilia: $btime";
    $hereNew_Time = time() + (23 * 60 * 60);
    $heretime=date("H:i",$hereNew_Time);
    echo
    "<br/>London, Dublin, Lisbon: $heretime";
    echo
    "<br/><br/><b>0 </b><a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
    ?>
    </p>
    </body>
    </html>
    Non riesco a risolvere. Grazie per la vostra disponibilità

  4. #4
    Guest

    Predefinito

    Ti mancano alcuni slash prima delle virgolette.


    Ciao!

  5. #5
    Guest

    Predefinito

    e dove esattamente? me li puoi undicare???

  6. #6
    Guest

    Predefinito

    Leggi gli errori di php: vai a vedere le linee indicate e correggi gli errori come indicato da debug

  7. #7
    L'avatar di matt93
    matt93 non è connesso Utente
    Data registrazione
    01-09-2008
    Messaggi
    241

    Predefinito

    visto che usi codici HTML negli echo ti conviene usare gli apostrofi ( ' )

  8. #8
    Guest

    Predefinito

    ma la linea 26 è questa? echo "<html xmlns="http://www.w3.org/1999/xhtml">";
    lo slash prima delle virgolette, così ? echo/ "<html xmlns="http://www.w3.org/1999/xhtml">";

  9. #9
    L'avatar di matt93
    matt93 non è connesso Utente
    Data registrazione
    01-09-2008
    Messaggi
    241

    Predefinito

    no, usa:
    Codice PHP:
    echo '<html xmlns="http://www.w3.org/1999/xhtml">';

  10. #10
    Guest

    Predefinito

    Citazione Originalmente inviato da universal3000 Visualizza messaggio
    ma la linea 26 è questa? echo "<html xmlns="http://www.w3.org/1999/xhtml">";
    lo slash prima delle virgolette, così ? echo/ "<html xmlns="http://www.w3.org/1999/xhtml">";
    Lo slash andrebbe così:
    Codice PHP:
    echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">";

  11. #11
    Guest

    Predefinito

    Grazie matt ! e nel primo file list.php dove li devo mettere gli apostrofi??

  12. #12
    L'avatar di matt93
    matt93 non è connesso Utente
    Data registrazione
    01-09-2008
    Messaggi
    241

    Predefinito

    posta tutto il file

  13. #13
    Guest

    Predefinito

    Codice PHP:
    <?php
    header
    ("Cache-Control: no-cache, must-revalidate");
    header("Pragma: no-cache");
    //header('Content-type: application/vnd.wap.xhtml+xml');
    echo "<?xml version=\"1.0\"?>";
    echo
    "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
    ?>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <?php
    include("config.php");
    include(
    "core.php");
    connectdb();
    $action = $_GET["action"];
    $sid = $_GET["sid"];
    $page = $_GET["page"];
    $uid = getuid_sid($sid);
    $theme = mysql_fetch_array(mysql_query("SELECT theme FROM ibwf_users WHERE id='".$uid."'"));
    $sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='sitename'"));
    $sitename = $sitename[0];

    if(
    $action != "")
    {
    if(
    islogged($sid)==false)
    {
    echo
    "<head>";
    echo
    "<title>Error!!!</title>";
    echo
    "<link rel=\"stylesheet\" type=\"text/css\" href=\"themes/white_medium.css\">";
    echo
    "</head>";
    echo
    "<body>";
    echo
    "<p align=\"center\">";
    echo
    "You are not logged in<br/>";
    echo
    "Or Your session has been expired<br/><br/>";
    echo
    "<a href=\"index.php\">Login</a>";
    echo
    "</p>";
    echo
    "</body>";
    echo
    "</html>";
    exit();
    }
    }
    if(
    isbanned($uid))
    {
    echo
    "<head>";
    echo
    "<title>Error!!!</title>";
    echo
    "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
    echo
    "</head>";
    echo
    "<body>";
    echo
    "<p align=\"center\">";
    echo
    "<img src=\"../images/notok.gif\" alt=\"x\"/><br/>";
    echo
    "<b>You are Banned</b><br/><br/>";
    $banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1' OR uid='".$uid."' AND penalty='2'"));
    $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'"));
    $remain = $banto[0]- time();
    $rmsg = gettimemsg($remain);
    echo
    "<b>Time Left: </b>$rmsg<br/>";
    $nick = getnick_uid($banto[2]);
    echo
    "<b>By: </b>$nick<br/>";
    echo
    "<b>Reason: </b>$banto[1]";
    //echo "<a href=\"index.php\">Login</a>";
    echo "</p>";
    echo
    "</body>";
    echo
    "</html>";
    exit();
    }

    //////////////////////////////////Members List

    if($action=="members")
    {
    addonline(getuid_sid($sid),"Viewing Members List","");
    $view = $_GET["view"];
    if(
    $view=="")$view="date";
    echo
    "<head>";
    echo
    "<title>Members List</title>";
    echo
    "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
    echo
    "</head>";
    echo
    "<body>";
    echo
    "<p align=\"center\">";
    echo
    "<img src=\"../images/bdy.gif\" alt=\"*\"/><br/>";
    echo
    "<a href=\"lists.php?action=members&amp;view=name&amp;sid=$sid\">Order By Name</a><br/>";
    echo
    "<a href=\"lists.php?action=members&amp;view=date&amp;sid=$sid\">Order By Join Date</a><br/>";
    echo
    "</p>";
    //////ALL LISTS SCRIPT <<

    if($page=="" || $page<=0)$page=1;
    $num_items = regmemcount(); //changable
    $items_per_page= 10;
    $num_pages = ceil($num_items/$items_per_page);
    if((
    $page>$num_pages)&&$page!=1)$page= $num_pages;
    $limit_start = ($page-1)*$items_per_page;

    //changable sql
    if($view=="name")
    {
    $sql = "SELECT id, name, regdate FROM ibwf_users ORDER BY name LIMIT $limit_start, $items_per_page";
    }else{
    $sql = "SELECT id, name, regdate FROM ibwf_users ORDER BY regdate DESC LIMIT $limit_start, $items_per_page";
    }

    echo
    "<p>";
    $items = mysql_query($sql);

    if(
    mysql_num_rows($items)>0)
    {
    while (
    $item = mysql_fetch_array($items))
    {
    $jdt = date("d-m-y", $item[2]);
    $lnk = "<a href=\"index.php?action=viewuser&amp;who=$item[0]&amp;sid=$sid\">$item[1]</a> <small>joined: $jdt</small>";
    echo
    "$lnk<br/>";
    }
    }
    echo
    "</p>";
    echo
    "<p align=\"center\">";
    if(
    $page>1)
    {
    $ppage = $page-1;
    echo
    "<a href=\"lists.php?action=members&amp;page=$ppage&amp;sid=$sid&amp;view=$view\">«PREV</a> ";
    }
    if(
    $page<$num_pages)
    {
    $npage = $page+1;
    echo
    "<a href=\"lists.php?action=members&amp;page=$npage&amp;sid=$sid&amp;view=$view\">Next»</a>";
    }
    echo
    "<br/>$page/$num_pages<br/>";
    if(
    $num_pages>2)
    {
    $rets = "<form action=\"lists.php\" method=\"get\">";
    $rets .= "<input name=\"page\" style=\"-wap-input-format: '*N'\" size=\"2\"/>";
    $rets .= "<input type=\"hidden\" name=\"action\" value=\"$action\"/>";
    $rets .= "<input type=\"hidden\" name=\"sid\" value=\"$sid\"/>";
    $rets .= "<input type=\"hidden\" name=\"view\" value=\"$view\"/>";
    $rets .= "<input type=\"submit\" value=\"Go To Page\"/>";
    $rets .= "</form>";

    echo
    $rets;
    }
    echo
    "</p>";
    ////// UNTILL HERE >>
    echo "<p align=\"center\">";
    echo
    "<b>9 </b><a accesskey=\"9\" href=\"index.php?action=stats&amp;sid=$sid\"><img src=\"../images/stat.gif\" alt=\"\"/>Site Stats</a><br/>";
    echo
    "<b>0 </b><a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
    echo
    "</p>";
    echo
    "</body>";
    }

    //////////////////////////////////List users by IP

    if($action=="byip")
    {
    addonline(getuid_sid($sid),"Mod CP","");
    echo
    "<head>";
    echo
    "<title>Ip List</title>";
    echo
    "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
    echo
    "</head>";
    echo
    "<body>";
    //////ALL LISTS SCRIPT <<

  14. #14
    Guest

    Predefinito

    Codice PHP:
    $who = $_GET["who"];
    $whoinfo = mysql_fetch_array(mysql_query("SELECT ipadd, browserm FROM ibwf_users WHERE id='".$who."'"));
    if(
    ismod(getuid_sid($sid))){
    if(
    $page=="" || $page<=0)$page=1;
    $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE ipadd='".$whoinfo[0]."' AND browserm='".$whoinfo[1]."'"));
    $num_items = $noi[0]; //changable
    $items_per_page= 10;
    $num_pages = ceil($num_items/$items_per_page);
    if((
    $page>$num_pages)&&$page!=1)$page= $num_pages;
    $limit_start = ($page-1)*$items_per_page;

    //changable sql

    $sql = "SELECT id, name FROM ibwf_users WHERE ipadd='".$whoinfo[0]."' AND browserm='".$whoinfo[1]."' ORDER BY name LIMIT $limit_start, $items_per_page";


    echo
    "<p>";
    $items = mysql_query($sql);

    if(
    mysql_num_rows($items)>0)
    {
    while (
    $item = mysql_fetch_array($items))
    {

    $lnk = "<a href=\"index.php?action=viewuser&amp;who=$item[0]&amp;sid=$sid\">$item[1]</a>";
    echo
    "$lnk<br/>";
    }
    }
    echo
    "</p>";
    echo
    "<p align=\"center\">";
    if(
    $page>1)
    {
    $ppage = $page-1;
    echo
    "<a href=\"lists.php?action=$action&amp;page=$ppage&amp;sid=$sid&amp;who=$who\">«PREV</a> ";
    }
    if(
    $page<$num_pages)
    {
    $npage = $page+1;
    echo
    "<a href=\"lists.php?action=$action&amp;page=$npage&amp;sid=$sid&amp;who=$who\">Next»</a>";
    }
    echo
    "<br/>$page/$num_pages<br/>";
    if(
    $num_pages>2)
    {
    echo
    $rets;
    $rets = "<form action=\"lists.php\" method=\"get\">";
    $rets .= "<input name=\"page\" style=\"-wap-input-format: '*N'\" size=\"2\"/>";
    $rets .= "<input type=\"hidden\" name=\"action\" value=\"$action\"/>";
    $rets .= "<input type=\"hidden\" name=\"sid\" value=\"$sid\"/>";
    $rets .= "<input type=\"hidden\" name=\"who\" value=\"$who\"/>";
    $rets .= "<input type=\"submit\" value=\"Go To Page\"/>";
    $rets .= "</form>";

    echo
    $rets;
    }
    echo
    "</p>";
    }else{
    echo
    "<p align=\"center\">";
    echo
    "You can't view this list";
    echo
    "</p>";
    }
    ////// UNTILL HERE >>
    echo "<p align=\"center\">";
    echo
    "<b>0 </b><a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
    echo
    "</p>";
    echo
    "</body>";
    }


    //////////////////////////////////Top Posters List

    else if($action=="topp")
    {
    addonline(getuid_sid($sid),"Top Forum Posters","");
    echo
    "<head>";
    echo
    "<title>Top Posters</title>";
    echo
    "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
    echo
    "</head>";
    echo
    "<body>";
    echo
    "<p align=\"center\">";
    echo
    "<b>Our Top Posters</b><br/><small>Thank you all for keeping this site alive<br/>";
    $weekago = time();
    $weekago -= 7*24*60*60;
    $noi = mysql_fetch_array(mysql_query("SELECT COUNT(DISTINCT uid) FROM ibwf_posts WHERE dtpost>'".$weekago."';"));
    echo
    "<a href=\"lists.php?action=tpweek&amp;sid=$sid\">This week($noi[0])</a><br/>";
    $noi = mysql_fetch_array(mysql_query("SELECT COUNT(DISTINCT uid) FROM ibwf_posts ;"));
    echo
    "<a href=\"lists.php?action=tptime&amp;sid=$sid\">All the time($noi[0])</a></small><br/>";
    echo
    "</p>";
    //////ALL LISTS SCRIPT <<

    if($page=="" || $page<=0)$page=1;
    $num_items = regmemcount(); //changable
    $items_per_page= 10;
    $num_pages = ceil($num_items/$items_per_page);
    if((
    $page>$num_pages)&&$page!=1)$page= $num_pages;
    $limit_start = ($page-1)*$items_per_page;

    //changable sql

    $sql = "SELECT id, name, posts FROM ibwf_users ORDER BY posts DESC LIMIT $limit_start, $items_per_page";


    echo
    "<p>";
    $items = mysql_query($sql);
    echo
    mysql_error();
    if(
    mysql_num_rows($items)>0)
    {
    while (
    $item = mysql_fetch_array($items))
    {

    $lnk = "<a href=\"index.php?action=viewuser&amp;who=$item[0]&amp;sid=$sid\">$item[1]</a> <small>Posts: $item[2]</small>";
    echo
    "$lnk<br/>";
    }
    }
    echo
    "</p>";
    echo
    "<p align=\"center\">";
    if(
    $page>1)
    {
    $ppage = $page-1;
    echo
    "<a href=\"lists.php?action=topp&amp;page=$ppage&amp;sid=$sid&amp;view=$view\">«PREV</a> ";
    }
    if(
    $page<$num_pages)
    {
    $npage = $page+1;
    echo
    "<a href=\"lists.php?action=topp&amp;page=$npage&amp;sid=$sid&amp;view=$view\">Next»</a>";
    }
    echo
    "<br/>$page/$num_pages<br/>";
    if(
    $num_pages>2)
    {
    $rets = "<form action=\"lists.php\" method=\"get\">";
    $rets .= "<input name=\"page\" style=\"-wap-input-format: '*N'\" size=\"2\"/>";
    $rets .= "<input type=\"hidden\" name=\"action\" value=\"$action\"/>";
    $rets .= "<input type=\"hidden\" name=\"sid\" value=\"$sid\"/>";
    $rets .= "<input type=\"submit\" value=\"Go To Page\"/>";
    $rets .= "</form>";

    echo
    $rets;
    }
    echo
    "</p>";
    ////// UNTILL HERE >>
    echo "<p align=\"center\">";
    echo
    "<b>9 </b><a accesskey=\"9\" href=\"index.php?action=stats&amp;sid=$sid\"><img src=\"../images/stat.gif\" alt=\"\"/>Site Stats</a><br/>";
    echo
    "<b>0 </b><a accesskey=\"0\" href=\"index.php?action=stats&amp;sid=$sid\"><img src=\"../images/stat.gif\" alt=\"\"/>Site Stats</a><br/>";

    echo
    "</p>";
    echo
    "</body>";
    ?>
    </html>

  15. #15
    L'avatar di matt93
    matt93 non è connesso Utente
    Data registrazione
    01-09-2008
    Messaggi
    241

    Predefinito

    non ho ben capito lo script comunque prova a mettere così:

    Codice PHP:
    echo "</p>";
    ////// UNTILL HERE >>
    echo "<p align=\"center\">";
    echo
    "<b>9 </b><a accesskey=\"9\" href=\"index.php?action=stats&amp;sid=$sid\"><img src=\"../images/stat.gif\" alt=\"\"/>Site Stats</a><br/>";
    echo
    "<b>0 </b><a accesskey=\"0\" href=\"index.php?action=stats&amp;sid=$sid\"><img src=\"../images/stat.gif\" alt=\"\"/>Site Stats</a><br/>";

    echo
    "</p>";
    echo
    "</body>";
    }
    ?>
    </html>
    (ho aggiunto un })

  16. #16
    Guest

    Predefinito

    matt si vede tutto bianco la pagina adesso

  17. #17
    L'avatar di matt93
    matt93 non è connesso Utente
    Data registrazione
    01-09-2008
    Messaggi
    241

    Predefinito

    mah, so solo che non hai chiuso un } prova a ricontrollare la logica :D

  18. #18
    Guest

    Predefinito

    grazie lo stesso matt vedro di scrivere in un altro forum

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •