Ver Mensaje Individual
  #7 (permalink)  
Antiguo 11/05/2015, 02:46
camilomascarell1987
 
Fecha de Ingreso: abril-2013
Mensajes: 39
Antigüedad: 11 años, 1 mes
Puntos: 0
Respuesta: formulario subir multiples de imagenes con php mysql

POR FAVOR TU Y YO AYUDA PHP ES MUY PROBLEMAS, ESTOY ROPMRE MUCHOS VECES
Código PHP:
  $theValue function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); 

  switch (
$theType) { 
    case 
"text"
      
$theValue = ($theValue != "") ? "'" $theValue "'" "INSERT"
      break;     
    case 
"long"
    case 
"int"
      
$theValue = ($theValue != "") ? intval($theValue) : "INSERT"
      break; 
    case 
"double"
      
$theValue = ($theValue != "") ? doubleval($theValue) : "INSERT"
      break; 
    case 
"date"
      
$theValue = ($theValue != "") ? "'" $theValue "'" "INSERT"
      break; 
    case 
"defined"
      
$theValue = ($theValue != "") ? $theDefinedValue $theNotDefinedValue
      break; 
  } 
  return 
$theValue