Tx.
Yep I have read it now and understood it better than the first time I read
this part of the manual (it's amazing how things make more sense when you
can apply them to what you are doing).
"Jesse Goerz" <[EMAIL PROTECTED]> wrote in message
0110301727.19453@reign">news:0110301727.19453
On Tuesday 30 October 2001 15:49, TorrentUK wrote:
> Please could some take a look at this code and tell me why
> when I take my IF statements out of the function and put in
> them in the same place where I call the function from they
> work, but as soon as I replace them with the function name
>
Yep, that'll be it.
Thanks for the help. :)
torrent
"Charles F. McKnight" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
> On Tue, 30 Oct 2001, TorrentUK wrote:
>
>
>
> you either need to pass the variables to the function or use global
> variables in the
I'm new to PHP but one thing I think might be happening is that maybe the
changes aren't being made to a "global" (I'm a Java programmer) $sql so they
aren't being kept. Does it actually break or is it not appending the
additional string? I'd try printing out the $sql and see what you're
getting
On Tue, 30 Oct 2001, TorrentUK wrote:
you either need to pass the variables to the function or use global
variables in the function see
http://www.php.net/manual/en/language.variables.scope.php
> Here's the code...
>
> // Define the rating's filter
> function RatingFilter () {
>