Bueno la cosa es que me da toda esta serie de errores cuando intento enviar un formulario con los datos de un producto...
La linea 43 del carrito_add.php es esta:
GetSQLValueString($_GET['FTalla']));
Los errores son estos:
( ! ) Warning: Missing argument 2 for GetSQLValueString(), called in C:\wamp\www\zulo\carrito_add.php on line 43 and defined in C:\wamp\www\zulo\includes\funciones.php on line 3
Call Stack
# Time Memory Function Location
1 0.0020 391856 {main}( ) ..\carrito_add.php:0
2 0.0076 475912 GetSQLValueString( ) ..\carrito_add.php:43
( ! ) Notice: Undefined variable: theType in C:\wamp\www\zulo\includes\funciones.php on line 12
Call Stack
# Time Memory Function Location
1 0.0020 391856 {main}( ) ..\carrito_add.php:0
2 0.0076 475912 GetSQLValueString( ) ..\carrito_add.php:43
( ! ) Notice: Undefined variable: theType in C:\wamp\www\zulo\includes\funciones.php on line 15
Call Stack
# Time Memory Function Location
1 0.0020 391856 {main}( ) ..\carrito_add.php:0
2 0.0076 475912 GetSQLValueString( ) ..\carrito_add.php:43
( ! ) Notice: Undefined variable: theType in C:\wamp\www\zulo\includes\funciones.php on line 16
Call Stack
# Time Memory Function Location
1 0.0020 391856 {main}( ) ..\carrito_add.php:0
2 0.0076 475912 GetSQLValueString( ) ..\carrito_add.php:43
( ! ) Notice: Undefined variable: theType in C:\wamp\www\zulo\includes\funciones.php on line 19
Call Stack
# Time Memory Function Location
1 0.0020 391856 {main}( ) ..\carrito_add.php:0
2 0.0076 475912 GetSQLValueString( ) ..\carrito_add.php:43
( ! ) Notice: Undefined variable: theType in C:\wamp\www\zulo\includes\funciones.php on line 22
Call Stack
# Time Memory Function Location
1 0.0020 391856 {main}( ) ..\carrito_add.php:0
2 0.0076 475912 GetSQLValueString( ) ..\carrito_add.php:43
( ! ) Notice: Undefined variable: theType in C:\wamp\www\zulo\includes\funciones.php on line 25
Call Stack
# Time Memory Function Location
1 0.0020 391856 {main}( ) ..\carrito_add.php:0
2 0.0076 475912 GetSQLValueString( ) ..\carrito_add.php:43
Unknown column 'M' in 'field list'
A simple vista no veo ningun error, voy a pegar la consulta entera:
"INSERT INTO tblcarrito (idUsuario, idProducto, intCantidad, strTalla) VALUES (%s, %s, %s, %s)",
GetSQLValueString($_SESSION['MM_IdUsuario'], "int"),
GetSQLValueString($_GET['recordID'], "text"),
1,
GetSQLValueString($_GET['FTalla']));