RE: [PHP] Substitution Operator

2003-10-20 Thread Nigel Peck - MIS Web Design
Thanks, tried searching for substitution and similar but couldn't find it.

should have looked for replace :)

Cheers,
Nigel

> -Original Message-
> From: John Nichel [mailto:[EMAIL PROTECTED]
> Sent: 20 October 2003 18:18
> To: Nigel Peck - MIS Web Design
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Substitution Operator
> 
> 
> Nigel Peck - MIS Web Design wrote:
> > Hi,
> > 
> > I'm looking for the PHP equivalent to the Perl:
> > 
> > $var =~ s/regex/string/g
> > 
> > Substitute all occurrences of regex in $var with string.
> > 
> > TIA
> > 
> > Nigel
> 
> 
> The online manual is a real good place to start.
> 
> http://us4.php.net/preg_replace
> 
> -- 
> By-Tor.com
> It's all about the Rush
> http://www.by-tor.com
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Substitution Operator

2003-10-20 Thread Nigel Peck - MIS Web Design
Hi,

I'm looking for the PHP equivalent to the Perl:

$var =~ s/regex/string/g

Substitute all occurrences of regex in $var with string.

TIA

Nigel

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Adding a set of templates

2003-07-29 Thread Nigel Peck - MIS Web Design
Sorry wrong list lol.

(long day)

> -Original Message-
> From: Nigel Peck - MIS Web Design [mailto:[EMAIL PROTECTED]
> Sent: 29 July 2003 22:48
> To: [EMAIL PROTECTED]
> Subject: [PHP] Adding a set of templates
> 
> 
> I want to create my own templates but the phpBB site says coming 
> soon for the docs.
> 
> I copied the subSilver folder to a folder called default (in the 
> templates directory) but when I go to style/add in the admin 
> screens it doesn't show up, the docs say that the templates 
> directory is scanned for new templates, am I missing something?
> 
> Thanks
> Nigel
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Adding a set of templates

2003-07-29 Thread Nigel Peck - MIS Web Design
I want to create my own templates but the phpBB site says coming soon for the docs.

I copied the subSilver folder to a folder called default (in the templates directory) 
but when I go to style/add in the admin screens it doesn't show up, the docs say that 
the templates directory is scanned for new templates, am I missing something?

Thanks
Nigel


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php