close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Recordset error: "your php server doesn't have the mysql module loaded or you can't use the mysql_(p)connect functions dreamweaver"

Thread began 3/15/2021 4:43 am by Ralph | Last modified 3/16/2021 10:22 am by Ralph | 59 views | 4 replies


Recordset error: "your php server doesn't have the mysql module loaded or you can't use the mysql_(p)connect functions"

Hello Ray,

I checked for that as well.

I created the Recordset using the WebAssist MySQLi Server Behaviors tool, and am using Dreamweaver version 20.1, on a Windows 10 machine, using PHP 7.2.9

I have attached a screenshot for clarity.

This is a sample recordset (does not show test results for any of my recordsets on any localhost page):
$Recordset1 = new WA_MySQLi_RS("Recordset1",$entrepreneur_interview_project,1);
$Recordset1->setQuery("SELECT Count(results.ID) AS CountID FROM results WHERE results.`Status` = 'Approved' ");

Works fine on the remote server, but when I "test" on localhost I get the error instead of a preview of results.

Thinking back I noticed that this started happening after I updated my PHP version from 5.x to 7.x
Doing a web search I found this page:

They say that DW server behaviors are no longer compatible with PHP 7+

I can test it using my localhost PHPMyAdmin, and on my remote server (after FTP) just fine, but I wanted to bring this to your attention. Maybe there is a Dreamweaver configuration or PHP.ini tweak that might solve this?

I just wanted to bring this to your attention.

I hope this helps,


Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...