Re: [PHP-DB] While + Function

2003-01-23 Thread 1LT John W. Holmes
- > From: "Jason Wong" <[EMAIL PROTECTED]> > Newsgroups: php.db > To: <[EMAIL PROTECTED]> > Sent: Thursday, January 23, 2003 11:54 AM > Subject: Re: [PHP-DB] While + Function > > > > On Thursday 23 January 2003 06:04, Shahar Tal wrote: > > >

Re: [PHP-DB] While + Function

2003-01-23 Thread Matthias St.
-- Original Message - > From: "Jason Wong" <[EMAIL PROTECTED]> > Newsgroups: php.db > To: <[EMAIL PROTECTED]> > Sent: Thursday, January 23, 2003 11:54 AM > Subject: Re: [PHP-DB] While + Function > > >> On Thursday 23 January 2003 06:04, S

Re: [PHP-DB] While + Function

2003-01-23 Thread Shachar Tal
en, I want to check what it is, like if constant(category) = "bla" { } whats the syntax for checking the value of it? thanks - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> Newsgroups: php.db To: <[EMAIL PROTECTED]> Sent: Thursday, January 2

Re: [PHP-DB] While + Function

2003-01-23 Thread Jason Wong
On Thursday 23 January 2003 06:04, Shahar Tal wrote: > Hello all! > > I got one page, with this code: > > echo insert_results(); > ?> > > Which grabs the data I send from another page, on that function. > Here is the important part of the function while code: > > while ($row = mysql_fetch_array($r

[PHP-DB] While + Function

2003-01-22 Thread Shahar Tal
Hello all! I got one page, with this code: Which grabs the data I send from another page, on that function. Here is the important part of the function while code: while ($row = mysql_fetch_array($result)){ function insert_results () { extract($row); echo "bla"; } } Ok, this