Im afraid l cannot endorse the use of Dreamweaver these days if you want to create a dynamic website which is database driven as its way behind the curve in every respect, unless you are a coder.
Many of us around here, who have been helping out in the forum for years are sick to the back teeth with Adobes broken promises to reinstate a brand new set of server behaviours to help those who do not have the necessary coding skills which will make Dreamweaver a worthwhile purchase. Currently for anything other than producing static responsive, simple websites, its useless unless you are a coder in which case you probably would not use Dreamweaver as your first choice of editor.
These may be harsh words but the whole Dreamweaver management/team/ceo at Adobe need a good kick up the backside or at least out the real truth as to why the product has slipped so far behind just about every other web editor available, free or paid for.
Looks like you are using an older version of DW. Those functions are out of date and it's possible your server/hosting company may not support them. Personally speaking, as old as those functions are I would not recommend using them at all. However, if you still want to use them, you will need to contact your server administrator/hosting provider to have them enable the functions you are trying to use.
Adobe removed and never replaced the server behaviors in Dreamweaver.
The old ones are no longer compatible with current versions of PHP.
Do not use them.
There are updated, paid extensions available from DMXZone or Webassist. Those are really the only options for Dreamweaver aside from hand-coding your connection scripts.