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?
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
<?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");
?>
...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.
Bookmarks