Any PHP wizz kids |
s0uL
Posts: 15
Rank:
Joined: 16 Oct 05
|
17 October 2005 21:12
|
|
|
Hey guys any of u know how to layout the line
$name = '[MPG]SENT';
so that the script recognises the [ ] as part of the name and not part of the script ?
|
Re0sLess
Posts: 2103
Rank:
Joined: 09 Sep 05
|
17 October 2005 22:39
Edited by Re0sLess on 17-Oct-05 at 22:44
|
|
|
I think you need a delimiter. i'm not 100% but i think its \ in PHP , i'm more into ASP. try
$name = '\[MPG\]SENT'
|
Mani
Editor
Posts: 6957
Rank:
Joined: 01 Apr 04
|
17 October 2005 23:38
|
|
|
PHP isn't my bag either, but it is ECMA style script, so try using double quotes instead of singles?
I used to have a handle on life, but it broke.
|
Tricky
Posts: 1655
Rank:
Joined: 07 Apr 04
|
17 October 2005 23:48
|
|
|
I'm not sure what you mean soul, [ ] arn't special characters, could you elaborate on what goes wrong.
|
s0uL
Posts: 15
Rank:
Joined: 16 Oct 05
|
18 October 2005 00:37
|
|
|
LOL it was $name = "[MPG]SENT";
id tried this already but seems i hadnt checked the Awards aspx file properly and my script was reading the wrong lines :/
Cheers guys for ur input
|
Any PHP wizz kids |