Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Question. Linking to a Database in Dreamweaver.

  • 06-11-2009 03:35PM
    #1
    Registered Users, Registered Users 2 Posts: 1,784 ✭✭✭


    Here's the score.

    I'm using MAMP and php which works fine for simple things like
    <?php echo date("l");?>
    

    but now I'm trying to pull content from a simple database I've made.

    In Dreamweaver, I'm using the "databases" window and adding a new database.

    However, when I try and add one I get this.

    Screen%20shot%202009-11-06%20at%2014.31.17.png

    Screen%20shot%202009-11-06%20at%2014.31.26.png


    Is the data I've inputted correct or does anyone know what the problem is?


Comments

  • Registered Users, Registered Users 2 Posts: 1,784 ✭✭✭im...LOST


    Maybe I should have said that I've set up and got working Wordpress installations on my MAMP installation so the mySQL and stuff is working but there is some thing simple that's wrong.


  • Posts: 793 ✭✭✭ [Deleted User]


    I can't remember dreamweaver's database functionality, as I usually handcode the db connection. Have you looked at the details you plugged into the site wizard? There may be a problem there.

    Probably best to write the database code yourself thouh. Have a look here http://php.net/manual/en/book.mysql.php


  • Registered Users, Registered Users 2 Posts: 1,784 ✭✭✭im...LOST


    I'd be much more of a handcoder myself but I tend to see how Dreamweaver does it, then edit it and learn how it things work by taking it apart.

    I'll look into doing it handcoding it from scratch. Thanks.


  • Registered Users, Registered Users 2 Posts: 9,579 ✭✭✭Webmonkey


    I would also recommend doing the coding by hand. IIRC dreamweaver's generated code was quite ugly looking.


Advertisement
Advertisement