Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

If statement mySQL

Participant ,
Apr 22, 2008 Apr 22, 2008
Hi,
I was wondering how I could display a table using if statements, depending on the condition do table 1 or do table 2
TOPICS
Server side applications
264
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 22, 2008 Apr 22, 2008
LATEST
<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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines