How to make a connection to a database?

Hi Folks!

I wnat to start with using a database. This would be mysql. Now my goal is to store urls evetnuellay but now at first I would like to know how to start using a datbase cq connecting to it.

Can anyone help?

If you need more info please ask,

Kind regards,

Who is Participating?
yo_s_cantaConnect With a Mentor Commented:
with php

mysql_connect("localhost", "admin", "1admin") or die(mysql_error());
echo "Connected to MySQL<br />";

Open in new window

hernst42Connect With a Mentor Commented:
Start at

If you are on windows try using a complete WAMP-Stack for your development like or
PeterdeBAuthor Commented:
All Courses

From novice to tech pro — start learning today.