![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
29/04/2012, 06:35
|
| | Fecha de Ingreso: enero-2012
Mensajes: 7
Antigüedad: 13 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 |