Re: [PHP-DB] Variables not working within Functions

2003-10-15 Thread Chris Wanstrath
You are using a variable outside of the function's scope. In the function, do this: global $username; Visit www.php.net/man to get a better understanding of globals and scope. On Wed, 2003-10-15 at 22:10, Adam Symonds wrote: > Hi, > I am starting to us functions with my work but I am having troub

Re: [PHP-DB] WHERE statement used multiple times.

2003-10-19 Thread Chris Wanstrath
On Mon, 2003-10-20 at 00:56, JeRRy wrote: > > Hi, > > > > If I was to want to use the WHERE statement multiple > > times (more than once) how do I seperate each WHERE > > statement? > > > > Would it be with a ',' (coma) or a ' ' (space) or > > what? Or not possible to have multiple WHERE's in >