www.webdeveloper.com
Results 1 to 6 of 6

Thread: can someone help me here? DREAMWEAVER & MYSQL

  1. #1
    Join Date
    Aug 2005
    Posts
    51

    can someone help me here? DREAMWEAVER & MYSQL

    hey, can someone help me on this please. I asked my host provider too help me, and obviously, they're too retarded to know what's going on! alright lets start.

    1. Im using Dreamweaver, and trying to create a php file, which i can use as a login.
    2. I set up a BRAND NEW website file, and am trying to set the connections. I'm using local test, cause i have cold fusion.
    3. I need to set up my database, so i goto, APPLICATIONS>DATABASE. I do the little + thing, and here is where it starts.
    4. On the MySQL Connection Pop Up window, I need to know the following...
    The...
    Connection name: (is it anything i want to call the connection?)
    MySQL Server: (is this like localhost, or what do i need)
    Username: (is this the username to my database)
    Password: (obviously, this is attached to my username?)
    Database: (and the database!)


    Can someone who knows dreamweaver, get me started with this?

    thanks

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,145
    I don't use DW (I just use a text editor), but your guesses sound pretty good to me.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  3. #3
    Join Date
    Feb 2005
    Location
    Tauranga
    Posts
    2,062
    yep sound good to me too
    PHP Code:
    <?php 
    $connection_name
    =mysql_connect ("localhost""user_name""password")
      or die 
    (
    'I cannot connect to the database because: ' mysql_error());
    mysql_select_db ("database_name");
    ?>

  4. #4
    Join Date
    Aug 2005
    Posts
    207
    Yep, you should be right. You could also just use mysql_connect as sheldon posted.
    I have some experience in PHP, HTML, Javascript, and Java.

    GET YOUR FREE DOMAIN TODAY!!! FOR REAL!!!

    JOIN THE WEBASE COMMUNITY NOW AND GET FREE HOSTING AND A LOT OF OTHER THINGS

    AIMForum.com - Ready, AIM, Chat! | Google Talk Forum - Where the world talks about Google! | GIGMAX : YOUR SPACE, YOUR STORAGE

  5. #5
    Join Date
    Dec 2002
    Location
    Seattle, WA
    Posts
    1,843
    don't use the dw's built-in "application" junk, learn to do it the right way, it will make things a whole lot easier

  6. #6
    Join Date
    Sep 2005
    Location
    Toronto
    Posts
    2

    Solutions....

    ...there are many. The issue you have is not uncommon and I believe that we have all went through it in the early stages of PHP/MySQL Database creation.

    You can create a simple table offering in a .txt format then go to MyAdmin in your PHP server. If you like I will provide a fast tutorial so that in the future, you have this problem licked!

    Just let me know, I am available all day and may have other solutions for you within Dreamweaver in particular. We are an approved training facility in all Macromedia products and offer short courses online live that may very well be a solution for you in the application itself.


    Thanks,


    Jodolio

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles