RE: [PHP] Easy Question -- Show/ Hide text based on output of query

2002-02-05 Thread Edward R. Bailey
> Sent: Tuesday, February 05, 2002 1:53 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Easy Question -- Show/ Hide text based on > output of query > > > On Wednesday 06 February 2002 02:53, Edward R. Bailey wrote: > > Sorry -- Here it i

Re: [PHP] Easy Question -- Show/ Hide text based on output of query

2002-02-05 Thread Jason Wong
On Wednesday 06 February 2002 02:53, Edward R. Bailey wrote: > Sorry -- Here it is > > >$notes = " size=-1>Notes:"; >} else { > $notes = ""; >} > ?> > > Then I call $notes using -- > > echo ($notes) I meant your *whole* script -- never mind, have you tried ec

RE: [PHP] Easy Question -- Show/ Hide text based on output of query

2002-02-05 Thread Edward R. Bailey
PROTECTED] > Subject: Re: [PHP] Easy Question -- Show/ Hide text based on > output of query > > > On Wednesday 06 February 2002 02:38, Edward R. Bailey wrote: > > I used echo($notes) at the bottom of the page and the > output of $notes > > prints reardless of whethe

Re: [PHP] Easy Question -- Show/ Hide text based on output of query

2002-02-05 Thread Jason Wong
On Wednesday 06 February 2002 02:38, Edward R. Bailey wrote: > I used echo($notes) at the bottom of the page and the output of $notes > prints reardless of whether or not the db field $memberNotes contains > any data. It seems to me that $notes is always acting as if $memberNotes > always contains

RE: [PHP] Easy Question -- Show/ Hide text based on output of query

2002-02-05 Thread Edward R. Bailey
returns any data? Thanks for your help, ED > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 05, 2002 1:22 PM > To: PHP General Mailing List > Subject: Re: [PHP] Easy Question -- Show/ Hide text based on > output of query >

Re: [PHP] Easy Question -- Show/ Hide text based on output of query

2002-02-05 Thread Jason Wong
On Wednesday 06 February 2002 02:14, Edward R. Bailey wrote: Please keep the discussion on the list! > Thanks for responding! Yes the "memberNotes" database field only > contains information in about a third of the records so I wanted to hide > the entire field and label when their was no releve

Re: [PHP] Easy Question -- Show/ Hide text based on output of query

2002-02-05 Thread Jason Wong
On Wednesday 06 February 2002 00:03, Edward R. Bailey wrote: > Hi, > > I am working on a page the displays the output of a query in a table and > I only want to show the field labels that have corresponding output from > the database. I am only really concerned with the last label in the > table.

[PHP] Easy Question -- Show/ Hide text based on output of query

2002-02-05 Thread Edward R. Bailey
Hi, I am working on a page the displays the output of a query in a table and I only want to show the field labels that have corresponding output from the database. I am only really concerned with the last label in the table. The label is called "Notes" and the corresponding field in the database