How to connect Database to Xammp? I want to connect my database of my server to Xammp. Please help about this problem
Depends if you use sqlite or mysql.
In both of those you can find enough information about connecting to it with PHP on google.
I am using sqlite. Do you know how to? Then please post a topic and make your topic sticky.
Find out the info here:-
php.net
Or here( only for mysql )
w3schools.com/php
Both are pretty useful websites
w3schools.com is a horrible website and should be avoided.
Search for PHP PDO SQLite and you should find plenty of examples.
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.
Quote from: KAKAN on Dec 01, 2015, 05:30 PMQuote 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.