Skip to main content
paulc89302236
Participating Frequently
February 8, 2022
Answered

Recordset binding wont drag from panel into code or live php page

  • February 8, 2022
  • 2 replies
  • 473 views

DW 21.2 / 15523 in Win 11

 

I like to work in code/live split view. 

I have created a recordset (RS) in my php based on data in my locahost mysql database.

 

I want to insert a binding into my php page, however:

 

If i click into live view, the RS and binding grey out so i cant drag across.

If i click into code view the RS becomnes active (not grayed out) but if i try to drag into code view its nor permitted. 

 

This is not expcted behaviour. It used to work fine in DW versions prior to 21, now I dont see how i can place my binding!

 

What do i need to do to fulfil this requirement please?

    This topic has been closed for replies.
    Correct answer B i r n o u

    well, I didn't used SB since DW CS somtehing for a tutorial... but I'm not sure that Drag & Drop was working in CC Live View.. Did you try on Display view ?

    just curious , when you say that it use to work, was it in CC Live View?

    2 replies

    Nancy OShea
    Community Expert
    Community Expert
    February 8, 2022

    I hope you're NOT using the deprecated Server Behaviors Panels that Adobe removed from DW CC.  The old Server Behavior scripts use outdated MySQL connections that are a) not secure and b) not supported by servers running PHP 7 or higher. 

     

    You should switch to a modern replacement. 

     

    WebAssist's MySQLi (improved) extension is the closest to old server behavior panels. 

    http://www.webassist.com/dreamweaver-server-behaviors

    http://www.webassist.com/product/mysqli

     

    Another option is manual coding with current MySQLi (improved) or PDO::_construct both of which work on servers running PHP 7 or higher.

     

    Nancy O'Shea— Product User & Community Expert
    paulc89302236
    Participating Frequently
    February 8, 2022

    I've been using using WA's MySQLi extentions for many years.

    I'm running php v7.4

    I've noticed many issues arising sine win 11 - whether coincidental i dont know.

    i'm planning on reverteing to a stable version of Win 10 for the time being.

    Nancy OShea
    Community Expert
    Community Expert
    February 8, 2022

    OK, good. 

     

    Can you drag into DESIGN view? 

    Did you reach out to Ray at WebAssist? 

     

    I'm still using Win10 so I can't help you with Win 11.

     

    Nancy O'Shea— Product User & Community Expert
    B i r n o u
    B i r n o uCorrect answer
    Legend
    February 8, 2022

    well, I didn't used SB since DW CS somtehing for a tutorial... but I'm not sure that Drag & Drop was working in CC Live View.. Did you try on Display view ?

    just curious , when you say that it use to work, was it in CC Live View?

    paulc89302236
    Participating Frequently
    February 8, 2022

    Thanks for your reply.

    I've switched to design view which allows the drag function. I can work with that!