Ver Mensaje Individual
  #7 (permalink)  
Antiguo 17/04/2013, 03:11
Avatar de Triby
Triby
Mod on free time
 
Fecha de Ingreso: agosto-2008
Ubicación: $MX->Gto['León'];
Mensajes: 10.106
Antigüedad: 16 años, 6 meses
Puntos: 2237
Respuesta: Problemes a convertir asp a php

$AUTONOMO=$_REQUEST['AUTONOMO'] <-- Aquí faltaría punto y coma ;
if($_REQUEST['AUTONOMO'] == "") {$FAX=$_REQUEST['AUTONOMO'] == "0"}; <-- Aquí sobra == "0" y el punto y coma debería estar antes de la llave.

- Cada sentencia en PHP debe terminar con punto y coma
- Las estructuras de control (if, switch, for, etc.) no son sentencias y no necesitan ;
__________________
- León, Guanajuato
- GV-Foto