How to connect Database to Xammp?

Started by Anik, Nov 30, 2015, 05:46 PM

Previous topic - Next topic

Anik

How to connect Database to Xammp? I want to connect my database of my server to Xammp. Please help about this problem

Thijn

Depends if you use sqlite or mysql.
In both of those you can find enough information about connecting to it with PHP on google.

Anik

I am using sqlite. Do you know how to? Then please post a topic and make your topic sticky.

KAKAN

Find out the info here:-
php.net

Or here( only for mysql )
w3schools.com/php

Both are pretty useful websites
oh no

Thijn

w3schools.com is a horrible website and should be avoided.
Search for PHP PDO SQLite and you should find plenty of examples.

KAKAN

Quote from: Thijn on Dec 01, 2015, 04:52 PMw3schools.com is a horrible website and should be avoided.
lol why? I learned almost everything from there only.
oh no

Thijn

Quote from: KAKAN on Dec 01, 2015, 05:30 PM
Quote from: Thijn on Dec 01, 2015, 04:52 PMw3schools.com is a horrible website and should be avoided.
lol why? I learned almost everything from there only.
It has been worse, but it serves outdated, and most of the time, wrong information about stuff that's best to find on the official websites (Like PHP.net, or MDN). I wont stop you from using it if you have before and found it useful. But if you've never scripted with PHP before I suggest to start with official documentation that's correct and up-to-date.