Re: Solo mostrar hasta un salto de linea
| From: | Gerardo Aquino | Date: | Tue, 05 Dec 2006 00:07:12 +0000 |
| Subject: | Re: Solo mostrar hasta un salto de linea | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-60023@lists.php.net to get a copy of this message | ||
saludos a lo mejor estas funciones te sirven
http://mx.php.net/manual/es/function.strrpos.php
http://mx.php.net/manual/es/function.substr.php
Leopoldo <potxoka3a@yahoo.es> escribió:
hola
tengo unos datos que mostrar en una web pero solo quiero mostrar hasta
que haya un return, he hecho algo como:
$text=preg_match("^(.*)\\r\\n", $basedatos);
pero no me funciona, no entiendo muy bien las expresiones regulares
aparte que llevo mucho sin programar en php por lo tanto tambien tengo
muy olvidadas las funciones.gracias
saludos
--
PHP Spanish Localization Talk Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---------------------------------
Do You Yahoo!? La mejor conexión a Internet y 2GB extra a tu correo por $100 al mes. http://net.yahoo.com.mx