Comment by babies542 on September 1, 2010 at 6:38 pm
Hey…if you want to learn php quick, this book really helped me:
fur(dot)ly/1iav — replace the (dot) with .
Comment by derekmcgoldrick on September 1, 2010 at 6:49 pm
There is an error on line 5. The ” :” needs to be removed or changed.
Comment by Uwak2 on September 1, 2010 at 7:36 pm
Can you also teach us how can we use the mysql at xammp, thanks Bucky, I will be waiting for your reply. I have been trying to connect it, but I dont know how to setup the username, password at phpmyadmin at xammp to set up for the code. When I try I got the error coded, not connected access denied for user ODBC at localhost using password no.
Comment by sssubbu96 on September 1, 2010 at 7:43 pm
these are really gr8 tutorials…
Comment by mangoprojects on September 1, 2010 at 8:18 pm
I got the “Can’t Connect to MySQL server on ‘localhost’ (10061). Can someone suggest a solution? Thank you. – behind vfx
Comment by mangoprojects on September 1, 2010 at 9:14 pm
@skyheero This one works.
Comment by NWInvestor on September 1, 2010 at 9:34 pm
These tutorials of yours are great stuff for newbs like me, I really appreciate you taking the time to post them.
Comment by 81brett83 on September 1, 2010 at 9:56 pm
Bucky your a legend mate !! I dont have a web hosting account I did it using the xampp Apache server, but I wrote to hopethisworks to the table. Your tutorials beet reading this stuuf by a mile, cheers mate !!
Comment by everybody2008 on September 1, 2010 at 10:04 pm
I did all the steps then I got this error message ” Not Connected:Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (46)” .I have tried every thing
and made sure that my username ,password and database name is correct.
Can you help me?
Comment by dmorigeau on September 1, 2010 at 10:05 pm
I have a question…what’s the difference between “double quotes” and ‘single quotes” I read an article that says PHP doesn’t look for information inside of ‘single quotes’ only “double quotes”. Just trying to clarify because I see that mysql_connect is in single and mysql_select_db is in double. Should they both be in double? Just trying to learn a few things. Thanks.
Comment by akhumetsu on September 1, 2010 at 10:30 pm
thanks fore the tutorials helps a lot……….great tutorial ..
Comment by mounayassir on September 1, 2010 at 11:26 pm
thank you for sharing php
Comment by GTAmyths94 on September 2, 2010 at 12:22 am
The best tutorial i ever saw here, but the tutorial with the badest quality too
Comment by blazin20s on September 2, 2010 at 1:11 am
Just want to thank you sooo much for your help!
Comment by d2cky on September 2, 2010 at 1:49 am
I don’t know if you went through this but it might be able to help others later on.
Instead of going out and purchasing webspace, it is possible to do this locally. If you open your mysql commandline client, you can manually input the database yourself.
Once that is completed when you get to the $dbc, the username is then “root”, with the master password you inputted during installation.
Comment by tyler4you1990 on September 2, 2010 at 2:13 am
you need to put the first part of your website on the mysql_select_db like in his other tutorial you need to include the first part of your website underscore then the database name and it will work
Comment by Aoudhubillahi on September 2, 2010 at 2:49 am
Impressive series of works. Bravo.
Comment by Oamaok on September 2, 2010 at 3:03 am
earlier code works now, but thanks. this may help others.
Comment by ThaEmielNL on September 2, 2010 at 3:46 am
change
$dbc = mysql_connect(‘localhost’,'username’,'password’);
with
$dbc = mysql_connect(‘localhost:3306′,’username’,'password’);
Comment by skyheero on September 2, 2010 at 4:07 am
you need to fix your code :: it case me some headache but here the right code for everyone trying to learn
Comment by rlharris9337 on September 2, 2010 at 4:32 am
I think you need “localhost” first, then username and password. Try that.
Comment by coolshoos on September 2, 2010 at 5:14 am
same with me!
Comment by Oamaok on September 2, 2010 at 5:59 am
usernames, passwords etc. are right.
Comment by Oamaok on September 2, 2010 at 6:11 am
Okay, this is what I get:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘********_********’@'localhost’ (using password: YES)
Could someone help?
Comment by hugovasto on September 2, 2010 at 6:13 am
Man youre the best teacher ever
i barely speak english but with your method
it was very easy to learn some php thankyou very very much
About this blog
This blog is dedicated to showcasing great web design as well as providing advice and tips to any aspiring web designers out there. Hopefully these articles will aid you in your design and development.
25 comments
Comment by babies542 on September 1, 2010 at 6:38 pm
Hey…if you want to learn php quick, this book really helped me:
fur(dot)ly/1iav — replace the (dot) with .
Comment by derekmcgoldrick on September 1, 2010 at 6:49 pm
There is an error on line 5. The ” :” needs to be removed or changed.
Comment by Uwak2 on September 1, 2010 at 7:36 pm
Can you also teach us how can we use the mysql at xammp, thanks Bucky, I will be waiting for your reply. I have been trying to connect it, but I dont know how to setup the username, password at phpmyadmin at xammp to set up for the code. When I try I got the error coded, not connected access denied for user ODBC at localhost using password no.
Comment by sssubbu96 on September 1, 2010 at 7:43 pm
these are really gr8 tutorials…
Comment by mangoprojects on September 1, 2010 at 8:18 pm
I got the “Can’t Connect to MySQL server on ‘localhost’ (10061). Can someone suggest a solution? Thank you. – behind vfx
Comment by mangoprojects on September 1, 2010 at 9:14 pm
@skyheero This one works.
Comment by NWInvestor on September 1, 2010 at 9:34 pm
These tutorials of yours are great stuff for newbs like me, I really appreciate you taking the time to post them.
Comment by 81brett83 on September 1, 2010 at 9:56 pm
Bucky your a legend mate !! I dont have a web hosting account I did it using the xampp Apache server, but I wrote to hopethisworks to the table. Your tutorials beet reading this stuuf by a mile, cheers mate !!
Comment by everybody2008 on September 1, 2010 at 10:04 pm
I did all the steps then I got this error message ” Not Connected:Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (46)” .I have tried every thing
and made sure that my username ,password and database name is correct.
Can you help me?
Comment by dmorigeau on September 1, 2010 at 10:05 pm
I have a question…what’s the difference between “double quotes” and ‘single quotes” I read an article that says PHP doesn’t look for information inside of ‘single quotes’ only “double quotes”. Just trying to clarify because I see that mysql_connect is in single and mysql_select_db is in double. Should they both be in double? Just trying to learn a few things. Thanks.
Comment by akhumetsu on September 1, 2010 at 10:30 pm
thanks fore the tutorials helps a lot……….great tutorial ..
Comment by mounayassir on September 1, 2010 at 11:26 pm
thank you for sharing php
Comment by GTAmyths94 on September 2, 2010 at 12:22 am
The best tutorial i ever saw here, but the tutorial with the badest quality too
Comment by blazin20s on September 2, 2010 at 1:11 am
Just want to thank you sooo much for your help!
Comment by d2cky on September 2, 2010 at 1:49 am
I don’t know if you went through this but it might be able to help others later on.
Instead of going out and purchasing webspace, it is possible to do this locally. If you open your mysql commandline client, you can manually input the database yourself.
Once that is completed when you get to the $dbc, the username is then “root”, with the master password you inputted during installation.
Example:
$dbc = mysql_connect(‘localhost’, ‘root’, ‘password’);
Comment by tyler4you1990 on September 2, 2010 at 2:13 am
you need to put the first part of your website on the mysql_select_db like in his other tutorial you need to include the first part of your website underscore then the database name and it will work
Comment by Aoudhubillahi on September 2, 2010 at 2:49 am
Impressive series of works. Bravo.
Comment by Oamaok on September 2, 2010 at 3:03 am
earlier code works now, but thanks. this may help others.
Comment by ThaEmielNL on September 2, 2010 at 3:46 am
change
$dbc = mysql_connect(‘localhost’,'username’,'password’);
with
$dbc = mysql_connect(‘localhost:3306′,’username’,'password’);
Comment by skyheero on September 2, 2010 at 4:07 am
you need to fix your code :: it case me some headache but here the right code for everyone trying to learn
if (!$dbc){
die(“not connect”.mysql_error());
}
//select databse
$db_selected = mysql_select_db(“game”,$dbc);
if(!db_selected)
{
die(“cant connect:”.mysql_error());
}
Comment by rlharris9337 on September 2, 2010 at 4:32 am
I think you need “localhost” first, then username and password. Try that.
Comment by coolshoos on September 2, 2010 at 5:14 am
same with me!
Comment by Oamaok on September 2, 2010 at 5:59 am
usernames, passwords etc. are right.
Comment by Oamaok on September 2, 2010 at 6:11 am
Okay, this is what I get:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘********_********’@'localhost’ (using password: YES)
Could someone help?
Comment by hugovasto on September 2, 2010 at 6:13 am
Man youre the best teacher ever
i barely speak english but with your method
it was very easy to learn some php thankyou very very much