Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: Anik on Nov 30, 2015, 05:46 PM

Title: How to connect Database to Xammp?
Post by: Anik on Nov 30, 2015, 05:46 PM
How to connect Database to Xammp? I want to connect my database of my server to Xammp. Please help about this problem
Title: Re: How to connect Database to Xammp?
Post by: Thijn on Nov 30, 2015, 05:54 PM
Depends if you use sqlite or mysql.
In both of those you can find enough information about connecting to it with PHP on google.
Title: Re: How to connect Database to Xammp?
Post by: Anik on Dec 01, 2015, 04:14 AM
I am using sqlite. Do you know how to? Then please post a topic and make your topic sticky.
Title: Re: How to connect Database to Xammp?
Post by: KAKAN on Dec 01, 2015, 09:06 AM
Find out the info here:-
php.net

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

Both are pretty useful websites
Title: Re: How to connect Database to Xammp?
Post by: Thijn on Dec 01, 2015, 04:52 PM
w3schools.com is a horrible website and should be avoided.
Search for PHP PDO SQLite and you should find plenty of examples.
Title: Re: How to connect Database to Xammp?
Post by: 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.
Title: Re: How to connect Database to Xammp?
Post by: Thijn on Dec 01, 2015, 06:22 PM
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.