Ver Mensaje Individual
  #1 (permalink)  
Antiguo 26/10/2013, 18:17
MagicXinventor
 
Fecha de Ingreso: octubre-2013
Mensajes: 1
Antigüedad: 10 años, 6 meses
Puntos: 0
Parse error: syntax error, unexpected T_VARIABLE in

Mi error es este: Parse error: syntax error, unexpected T_VARIABLE in C:\xampp\htdocs\php\agregarpost.php on line 2
Codigo:
Código PHP:
<?php
$url 
'/post/?tile='$_GET["tile"];'&post='$_GET["post"];'&a='$_GET["a"];'&ur='$_GET["ur"];'&un='$_GET["un"];'&up='$_GET["up"];'&us='$_GET["us"];'&pu='$_GET["pu"];'&p='$_GET["p"];'&f='$_GET["f"];'&v='$_GET["v"];'&vo='$_GET["vo"];'&s='$_GET["s"];'';
$class $_GET["class"];;
mysql_connect("localhost","root");
mysql_select_db("retaringa");

mysql_query("insert into mensajes(class,name,url) values('$class',$tile','$url')");

header("Location:index.php");
?>