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

display {Recordset Field} in design view php

New Here ,
Sep 22, 2006 Sep 22, 2006
I cant see the " {Recordset Field}" but only the PHP icon why?
TOPICS
Server side applications
313
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 ,
Sep 22, 2006 Sep 22, 2006
Do you have other text entered with it? Or just
<?php echo rs ?>?


"Bjarne Nordbeck" <webforumsuser@macromedia.com> wrote in message
news:ef080g$o69$1@forums.macromedia.com...
>I cant see the " {Recordset Field}" but only the PHP icon why?


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
New Here ,
Sep 22, 2006 Sep 22, 2006
Her is an example:
<?php do { ?>
<h2><?php echo $row_RsContent['Title']; ?></h2>
<p>
<?php if ($totalRows_RsImage > 0) { // Show if recordset not empty ?>
<img src="<?php echo $row_RsImage['imgName']; ?>" width="130" height="130" />
<?php } // Show if recordset not empty ?>

<?php echo nl2br($row_RsContent['Article']); ?></p>
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 ,
Sep 25, 2006 Sep 25, 2006
LATEST
You have two things in here that are echo statements.

I would expect for the first block to show, but I would not really expect
for your statements to show inside your If statement.

Is this entire block not showing? It should show all HTML elements after
the ?> ending bracket for your PHP. It should then show all echo statements
that are not nested (inside an if/do/etc statement).

AFAIK anyway,

Jon

"Bjarne Nordbeck" <webforumsuser@macromedia.com> wrote in message
news:ef1gve$fot$1@forums.macromedia.com...
> Her is an example:
> <?php do { ?>
> <h2><?php echo $row_RsContent['Title']; ?></h2>
> <p>
> <?php if ($totalRows_RsImage > 0) { // Show if recordset not empty ?>
> <img src="<?php echo $row_RsImage['imgName']; ?>" width="130"
> height="130" />
> <?php } // Show if recordset not empty ?>
>
> <?php echo nl2br($row_RsContent['Article']); ?></p>
>


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