Page 1 of 1

Tennis Masters PBBG

Posted: Mon Nov 21, 2011 4:56 pm
by dbest
I have uploaded the source code of my tennis management game. https://github.com/andyjdbest/Tennis-Masters---PBBG

Coded in PHP, using Smarty template engine and mySQL as the back-end db.

Enjoy!

Re: Tennis Masters PBBG

Posted: Mon Nov 21, 2011 7:31 pm
by hallsofvallhalla
Awesome, thanks!

Re: Tennis Masters PBBG

Posted: Tue Dec 02, 2014 2:14 am
by dawi03
hallsofvallhalla wrote:Awesome, thanks!

Hi mate,

I am trying to run this but i cannot do this without the sql database, (im new so i have no idea what im doing)

I have installed smarty and have now got to this problem....

( ! ) Warning: mysqli_connect(): in C:\wamp\www\tennis\DBconfig.php on line 9
Call Stack
# Time Memory Function Location
1 0.0010 165216 {main}( ) ..\index.php:0
2 0.0220 837680 require_once( 'C:\wamp\www\tennis\DBconfig.php' ) ..\index.php:5
3 0.0220 838152 mysqli_connect ( ) ..\DBconfig.php:9
Error connecting to mysql


Can anyone help?

Re: Tennis Masters PBBG

Posted: Tue Dec 02, 2014 4:00 am
by Jackolantern
Dawi, I would not suggest learning Smarty template engine while you are just starting out with coding. It has benefits, but isn't necessary when you are beginning and it is usually a best practice to just focus on the core language when starting out or things get too complicated.

Re: Tennis Masters PBBG

Posted: Tue Dec 02, 2014 4:58 am
by dawi03
Jackolantern wrote:Dawi, I would not suggest learning Smarty template engine while you are just starting out with coding. It has benefits, but isn't necessary when you are beginning and it is usually a best practice to just focus on the core language when starting out or things get too complicated.

thanks mate. I was just wanting to replicated this game on my localhost thats all.

Re: Tennis Masters PBBG

Posted: Sun Dec 14, 2014 8:16 pm
by dawi03
Jackolantern wrote:Dawi, I would not suggest learning Smarty template engine while you are just starting out with coding. It has benefits, but isn't necessary when you are beginning and it is usually a best practice to just focus on the core language when starting out or things get too complicated.

Sorry to be a pain again... but does anyone have the database files for this game?

Re: Tennis Masters PBBG

Posted: Mon Dec 15, 2014 12:55 am
by dawi03
dawi03 wrote:
Jackolantern wrote:Dawi, I would not suggest learning Smarty template engine while you are just starting out with coding. It has benefits, but isn't necessary when you are beginning and it is usually a best practice to just focus on the core language when starting out or things get too complicated.

Sorry to be a pain again... but does anyone have the database files for this game?

The SQL database that is

Re: Tennis Masters PBBG

Posted: Mon Dec 15, 2014 10:57 pm
by Jackolantern
I don't think so, sorry :(

I have not seen dbest in quite a while.

Re: Tennis Masters PBBG

Posted: Tue Dec 16, 2014 4:47 am
by dawi03
Jackolantern wrote:I don't think so, sorry :(

I have not seen dbest in quite a while.
Fun... looks like ill be creating an sql database!