Results 1 to 8 of 8

Thread: Whats wrong with this?

Threaded View

  1. #5

    Thread Starter
    Lively Member
    Join Date
    Jan 2005
    Posts
    87

    Re: Whats wrong with this?

    Thanks! But now it says

    Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /www/2gamers.com.ar/htdocs/servers/rec_datos.php on line 13



    Here is the code
    PHP Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Datos Recividos</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <body>
    <?php
    include("config.php");
    //process form

    $sql "INSERT INTO muservers(Id_server, exp, drop, pagina, IP, Puerto)"."VALUES ($_POST['Id_server'],$_POST['exp'],$_POST['drop'],$_POST['pagina'],$_POST['ip'],$_POST['puerto'])"
    $result mysql_query($sql) or die(mysql_error()); 
    echo 
    "Hemos recivido los datos de su servidor.\n";
    ?>
    </body>
    </html>
    Thanks again!
    Last edited by Frehley; Oct 2nd, 2005 at 10:51 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width