Skip to main content
Inspiring
April 22, 2008
Question

If statement mySQL

  • April 22, 2008
  • 1 reply
  • 265 views
Hi,
I was wondering how I could display a table using if statements, depending on the condition do table 1 or do table 2
This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Inspiring
April 22, 2008
<table style="display:<?php echo (condition1)?'block':'none'; ?>">
....
</table>
<table style="display:<?php echo (condition1)?'none':'block'; ?>">
...
</table>

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"The_FedEx_Guy" <webforumsuser@macromedia.com> wrote in message
news:fukhcm$3q9$1@forums.macromedia.com...
> Hi,
> I was wondering how I could display a table using if statements, depending
> on the condition do table 1 or do table 2