Reply to Re: Function Evaluation inside a literal.

Your name:

Reply:


Posted by Janwillem Borleffs on 06/26/06 08:24

ImOk wrote:
> or do I have to create a variable first or concatenate the string.
>

Besides creating a variable first, you have the following options:

$dt = 'The order was sent ' . date('F j, Y') . '. Please make a note of
it';

$dt = sprintf('The order was sent %s. Please make a note of it', date('F j,
Y'));


JW

[Back to original 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

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