Dreamweaver 2020 and databases issue
Hi all,
I've used DW many years ago and had the ability to create a database connection and create recordsets and login pages and lists of things etc.
I was suprised to find that I cannot do this in the newest version.
I have installed a version of DW Next that claims to have the ability but I'm getting errors everywhere.
I have been able to connect to my database, but I cannot create a login page.
I'm getting this error
Fatal error: Uncaught Error: Call to a member function real_escape_string() on null in
for this line: $theValue = $db->real_escape_string($theValue);
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
}
$theValue = $db->real_escape_string($theValue);
Have I installed something wrong?
