I am trying to find the position of the first occurrence on new line in a string that comes from a database. I tried
$pos = strpos( $list_text, "/n" ); But it never returns anything. Any help would be much appreciated. Ben -- Ben Edwards Tel +44 (0)1179 553 551 ICQ 42000477 Homepage - nothing of interest here http://gurtlush.org.uk Webhosting for the masses http://www.serverone.co.uk criticalSite Builder CMS http://www.criticaldistribution.com Get alt news/views films online http://www.cultureshop.org i-Contact Progressive Video http://www.videonetwork.org Fun with corporate graphics http://www.subvertise.org -- **************************************************************** * Ben Edwards Tel +44 (0)1179 553 551 ICQ 42000477 * * Homepage - nothing of interest here http://gurtlush.org.uk * * Webhosting for the masses http://www.serverone.co.uk * * Critical Site Builder http://www.criticaldistribution.com * * online collaborative web authoring content management system * * Get alt news/views films online http://www.cultureshop.org * * i-Contact Progressive Video http://www.videonetwork.org * * Fun corporate graphics http://www.subvertise.org * * Bristol Indymedia http://bristol.indymedia.org * * Bristol's radical news http://www.bristle.org.uk * **************************************************************** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php