SitePoint Enthusiast
ok so i am at part 4 of the tutorial..Connecting to MySQL with PHP--->
where do i type this function? .....mysql_connect(<address>, <username>, <password> );
is it on mysqld?
I seem not to follow although it might appear intuitive.
By the way: i appreciate all the help!
------------------
Bradley's Bromide:
"If computers get too powerful, we can organize them into a committee -- that will do them in."
You execute the mysql_connect function in your PHP page. Before you do mysql_query or anything like that.
mysql_connect() is a PHP function, just like echo() (which you should have learned in Part 3). As such, you put it in a PHP script inside your Web page.
If this is confusing, let me know and I'll try to give a more complete explanation.
------------------
-Kevin Yank.
http://www.SitePoint.com/
Helping Small Business Grow Online!
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks