Re: [solved] Emphasizing first letter of string?

From: Date: Tue, 22 Aug 2006 12:57:59 +0000
Subject: Re: [solved] Emphasizing first letter of string?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-240991@lists.php.net to get a copy of this message
At 4:29 AM -0700 8/22/06, Micky Hulse wrote:
Thanks to you folks, this works even better: if($configs['access_key'] === true) { foreach($pages as $key => $string) { $pages[$key][0] = '<em>'.$string[0][0].'</em>'.substr($string[0], 1); } } Many thanks, :) ... Now I can sleep. :D Cheers, Micky
Micky: Not meaning to wake you, but you might consider removing markup from presentation via css. If so, checkout: http://www.w3schools.com/css/css_pseudo_elements.asp tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#240991) next »