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...
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
How to Ask Questions the Smart Way
(not affiliated with this site, but well worth reading)
yep sound good to me too
$connection_name=mysql_connect ("localhost", "user_name", "password")
('I cannot connect to the database because: ' . mysql_error());
Yep, you should be right. You could also just use mysql_connect as sheldon posted.
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
...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.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)