arse_soul Posted July 21, 2003 Posted July 21, 2003 code someone explain the text in bold... what it is and how it is used!!! define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">[b]%s![/b]</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?'); thanx in advance!!! :)
arse_soul Posted July 21, 2003 Author Posted July 21, 2003 oops.. :oops: ... that didn' work <span class="greetUser">%s!</span> explain the --> %s! <--
Guest Posted July 21, 2003 Posted July 21, 2003 %s is a directive for something like sprintf. It tells it to insert a string (which will be provided as part of the sprintf call) in place of %s. In this case, it is inserting the person's username (or guest if they are not logged in). Good luck, Matt
Recommended Posts
Archived
This topic is now archived and is closed to further replies.