You are here: Re: parsing template using preg_replace_callback() « PHP Programming Language « IT news, forums, messages
Re: parsing template using preg_replace_callback()

Posted by mens libertina on 08/18/06 03:11

Jerry Stuckle wrote:
> Yes, it can do what you want. The question is - are you getting any
> matches? I'm far from an expert on regex's, but it looks like you
> aren't getting any matches.
>
> If the code is as you indicate, you should, however. What happens if you
> print $tagpart and $emesg?
>
> Also - do you get any output after the call to preg_replace_callback
> (just to make sure there isn't a runtime error you aren't seeing)?


Here's is my create_function output:

Array ( [0] => {NAME} [1] => NAME ) Array ( [0] => {USERNAME} [1] =>
USERNAME ) Array ( [0] => {EXPIRES} [1] => EXPIRES )

Hello, !

This is a courtesy reminder that your account, , is due to expire on .

Please let us know if you need assistance or have questions.

Thanks,
Staff

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация