PHP MySQL Tutorial: Connect to a MySQL Database -HD-
Uploader Comments (RiverCityGraphix)
All Comments (81)
-
i did exactly like you showed, but i coudnt connect to mysql..can you help me?
-
never mind i got it working, i needed to put a mysql dll file in c:\windows and then the success displayed, many thanks for the video
-
Why do you use the @ sign? I wasn´t able to find it in the PHP documentation.
-
@RiverCityGraphix awesome thanks. So using javascript for any sort of form validation is a bad idea :P true? but php is safe, and thats why everyone uses it. ish. I've been reading about some exploits with the include() method .
-
Can someone help ? I did this ive got the mysql file inside the folder and everything, i have checked many times, and the $db_name is correct as the actual sql db, but it still says "no database" ? and if i change the $db_host/username/pass it comes out with "Could not connect to mysql..." which means that it's working at that part ?
-
I followed all the instructions right up until the end. When I finally typed in localhost/mysql_connect I got an access forbidden page, and now even when I try to access localhost, I get an access forbidden page. It was working fine before I followed all of the instructions. Can anyone help?
-
once again, great!
When I write this in, isnt it available for everyone to see? and like... that shouldn't happen right. If they just view source they can see all that info for mySQL database :P
bitmp44 2 months ago
@bitmp44 Nope. PHP and MySQL are hidden from the view source.
RiverCityGraphix 2 months ago
i meant do u have to use dreamweaver?
RealityFuzion 8 months ago
@RealityFuzion Nope. You can use any html or php editor. You could even type it in NotePad and it would work.
RiverCityGraphix 8 months ago