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

Recordset pageing and unencoded ampersands in URLs

Participant ,
Sep 16, 2009 Sep 16, 2009

Copy link to clipboard

Copied

Hi

In DW8 the code written by the record set paging object fails w3c validation because of unencoded ampersands in URLs

ie

page.php?pageNum_portfolio=1&totalRows_portfolio=52

rather than

page.php?pageNum_portfolio=1&totalRows_portfolio=52

Can anyone advise how I resolve this?

Has this been fixed in a later release of DW?

Thanks

TOPICS
Server side applications

Views

692
Translate

Report

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
Participant ,
Sep 16, 2009 Sep 16, 2009

Copy link to clipboard

Copied

It's ok I've found the bit I needed to change.

Is this fixed in later versions of DW? I have DW8

Votes

Translate

Report

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 16, 2009 Sep 16, 2009

Copy link to clipboard

Copied

LATEST

Are you using Dreamweaver 8.0.2? If not, get the updater from http://www.adobe.com/support/dreamweaver/downloads_updaters.html#dw8. You will also need to install the PHP extension fix for 8.0.2. Get it from the link in the first paragraph on the following page: http://kb2.adobe.com/cps/000/b6c2ae2a.html.

I have just compared the code from a site made in DW 8.0.2 with one made in DW CS4. It's identical, and it correctly encodes the ampersand.

If you're using 8.0.2, and the ampersand is not correctly encoded, it could be the version of PHP you're using. Try the following:

<?php printf('&'); ?>

Load that into a browser and view the source. In PHP 5.3, it outputs it as the correct HTML entity.

Votes

Translate

Report

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