
29/04/2012, 06:35
|
| | | Fecha de Ingreso: enero-2012
Mensajes: 7
Antigüedad: 14 años, 1 mes Puntos: 1 | |
| Respuesta: cortar texto Prueba:
<?php
$tam = 20;
$mystring=wpsc_the_product_title();
$pos = strpos($mystring, ",");
echo substr($mystring, $pos, $tam);
?>
Y me cuentas |