"zymsys" <webforumsuser@macromedia.com> wrote in
message
news:fiuho4$ao8$1@forums.macromedia.com...
> I'm creating Dreamweaver extensions to work with my CMS.
Since it is
> already
> connecting to the MySQL database I'd like Dreamweaver to
access the same
> connection without asking the developer for the MySQL
credentials again.
> I
> have created the HTML form, the EDML for the connection
script, and the
> JavaScript to stitch it together, and I can successfully
create
> connections.
> The connection script looks good but when I try to
expand the tables in
> the
> database window it doesn't post a request to the server
and it just shows
> "None". I have a regular PHP MySQL connection on the
same site which
> works
> fine.
> I feel like I'm missing a required next step which would
tell it how to
> enumerate tables. It would be ideal if I could plug into
the existing PHP
> MySQL code for this.
>
> I would really appreciate any help and/or pointers!
Are you using the Database access functions?
http://livedocs.adobe.com/dreamweaver/8/apiref/07_mmd31.htm
MMDB.getTables()
http://livedocs.adobe.com/dreamweaver/8/apiref/07_mmd42.htm
MMDB.getColumns()
http://livedocs.adobe.com/dreamweaver/8/apiref/07_mmd34.htm
Or are your trying to create a new Connection Type for the
PHP_MySQL_ServerModel or a whole new servermodel alltogether?