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

DW8 PHP function incorrect

Participant ,
Jun 25, 2006 Jun 25, 2006
In DW 8 if I create a recordset <?php virtual('/Connections/oneandone.php'); ?> gets added to line 1 whereas in DW MX <?php require_once('Connections/oneandone.php'); ?> was added.

I can only get my DB connection to work if I manually edit back to like MX.

What gives?

TOPICS
Server side applications
296
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 ,
Jun 25, 2006 Jun 25, 2006
LATEST
bikeman01 wrote:
> In DW 8 if I create a recordset <?php virtual('/Connections/oneandone.php'); ?>
> gets added to line 1 whereas in DW MX <?php
> require_once('Connections/oneandone.php'); ?> was added.
>
> I can only get my DB connection to work if I manually edit back to like MX.
>
> What gives?

You have selected links relative to Site-root in your site definition.
Change it to the default, relative to document, and all will be back to
normal.

--
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/
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