Hello,
I've been learning MySQL and PHP for the last 2-3 years.
Though, I've had long pauses and months without touching PHP.
Now, I started at a new school this autumn, and I found that some of my old school mates, which I hadn't seen for a while, wanted to make a online text based game.
They said that I could join the project, because they needed a scripter, as none of them could script (only designers).
We got project plans, a small budget (for hosting + domain(s)) and a good team of designers, managers, etc.
Now, I've been analyzing and playing other text based games for years as I find them entertaining.
But now the question for me is:
How should this be done?
Should I use PHP OOP? I've never tried it, and I don't know why I should use it either, so therfor I ask you.
Should I use cronjobs? I've read that cronjobs is mostly for games with small databases, as a cronjob on a large database could take hours before it's finished.
I know that a lot of people asks about MMORPG text based games.
I would say that the difference between me and "a lot of them" is that I got a lot of programming experience already. I just need to know how to optimize and structure the website.
parameter passing issue on function
Well I thought I had created a pretty slick web page, using ?page and $_GET to load pages which where really function calls.Here is a few lines that make up the menuCode:
puting for loop in 1 value
hi ,how do i put this code in 1 value:Code: <?phpfor ($i=1; $i<=5; $i++) { echo $i ; }?>the output will be: 12345how do i put the result in one value ,some thing like :if the
Passing Variables
What I'm wanting to do is when the user clicks on Arenas it will know the name of the country it's wanting to see the list of Arenas for but don't know how to pass it. I'm sure it's with a hidden
Logic question
im wondering what's the best method to do the above list:it is for alliance @ MMORPG game -the administrator of alliance have 10 slots for creating ranks ... each rank have it's own permissions (in
php mailer
How can i send a mail to large no, say 50,000 reciepients using [color=#0000FF]php mailer[/color]
cookie problem
I hv a website url In this site main menu functionality based on cookie when user click on particular menu the visited menu change its color and cookie is created for that menu and when user click on
PHP Thumbnail Creation
Ok so i use this function to create thumbnails:Code: [Select]function createthumb($name,$filename,$new_w,$new_h){ $system=explode('.',$name); $src_img=imagecreatefrompng($name);
Embedding flash object in Else statement
This is my first major project in PHP and I'm having some trouble embedding a flash object in an Else statement. I've googled it several times, and looked at several sites and they all seem to
do while conditions
i want to display 6 images in a 2x3 tablenow what would be the correct logic tocount that there are 6 images resultsand if there are more than 6 images loop and echo the rest but not in the tablebut
ImageCreate()
When I create an image and add text to it I want my text to be replaced with a PNG image, because the PNG image has text effects. I have an image of every letter I just don't know if this is possible