Count the number of ('s and )'s, or get a text editor which can help
you balance them out in some way:
1 2 3 321
if (!empty($this-GetParam('someparameter'))) {
// foo
}
This *SHOULD* be syntactically correct, but php doesn't think so.
Should I
I am having this rather annoying syntax problem.
I have this..
if (!empty($this-GetParam('someparameter')) {
// OK do something since the parameter is set.
}
However that fails with this parse error
parse error, expecting `')''
Why???
If I do this
$var = $this-GetParam('someparameter'));
if
On Sat, 09 Aug 2003 20:00:57 -0500
Edward Rudd [EMAIL PROTECTED] wrote:
I am having this rather annoying syntax problem.
I have this..
if (!empty($this-GetParam('someparameter')) {
// OK do something since the parameter is set.
}
if (!empty($this-GetParam('someparameter'))) {
// OK
3 matches
Mail list logo