My Nations
My Nations
My Nations is a game that i am building or trying to i have found all of the units and buildings that i want to ues for the can on the internet i want the game to be some what like cyber nation but i dont no how to make a homepag or linke it up with a host or make it were you can buy units or builldings and make it were the builldings make moeny for you and i dont no how to make files for my garud buildings to garud your nation if any other nation trys to attck you or set up a chat room you player can chat live or set up a thing were you can pick a nation to attck or how to add the pics for my game if some won wood help i would like that i have some of the files for halls rpg web game like the login atteck battle register and the context fiels but i dont no if they will work for this or not if you need the files i have to help me E-mail me at wormy677@gmail.com and i will send you the zip files
- rockinliam
- Posts: 466
- Joined: Sun Jun 07, 2009 11:26 am
Re: My Nations
Learn PHP now, write game later, trust me PHP is easy as... follow hall's tutorials and you will gain the skills necessary.
Skillset: C/C++, OpenGL, C#, Lua, PHP, MySql, Web Dev etc.
Website: https://liam-griffiths.co.uk/
Website: https://liam-griffiths.co.uk/
-
- Posts: 261
- Joined: Wed Apr 28, 2010 8:35 am
Re: My Nations
I can vouch for that.rockinliam wrote:Learn PHP now, write game later, trust me PHP is easy as... follow hall's tutorials and you will gain the skills necessary.
Also try phpacademy, some great resources there once you've managed to familiarise yourself with the basics.
Re: My Nations
ok will i now no some moer php and i made this file and i know that it is moslty html
Code: Select all
<?php
//include 'connect.php';
?>
<form method="post" action="reguser.php">
Type Username Here: <input type="text" name="player" size="20"><br>
Type Nations Name Here:<input type="text" name="Nation" size="36"><br>
Type Password Here: <input type="text" name="password" size="15"><br>
Retype password: <input type="text" name="pass2" size="15"><br>
Type E-mail address: <input type="text" name="email" size="36"><br>
<input type="submit" value="submit">
</form>
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: My Nations
You don't need the connect.php unless you are connecting to a database in the script. This page can be 100% HTML, since no PHP will be used until it gets to reguser.php.wormy677 wrote:ok will i now no some moer php and i made this file and i know that it is moslty html
Code: Select all
<?php //include 'connect.php'; ?> <form method="post" action="reguser.php"> Type Username Here: <input type="text" name="player" size="20"><br> Type Nations Name Here:<input type="text" name="Nation" size="36"><br> Type Password Here: <input type="text" name="password" size="15"><br> Retype password: <input type="text" name="pass2" size="15"><br> Type E-mail address: <input type="text" name="email" size="36"><br> <input type="submit" value="submit"> </form>
The indelible lord of tl;dr
Re: My Nations
ok but if i take the connect.php out will in still work.You don't need the connect.php unless you are connecting to a database in the script. This page can be 100% HTML, since no PHP will be used until it gets to reguser.php.
-
- Posts: 261
- Joined: Wed Apr 28, 2010 8:35 am
Re: My Nations
If you're connecting to the database, then you need connect.php.wormy677 wrote:ok but if i take the connect.php out will in still work.You don't need the connect.php unless you are connecting to a database in the script. This page can be 100% HTML, since no PHP will be used until it gets to reguser.php.
If you're making your page purely html, without access to a database, then no, you don't need it.
Why, what's your mindset regarding this?
- rockinliam
- Posts: 466
- Joined: Sun Jun 07, 2009 11:26 am
Re: My Nations
I just realised you totally posted this in the wrong place as well...