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.
Include ("Absolute Path") of a file?
I'm not sure what I'm doing wrong. I am writing my php code in the same directory of the file that I wish to include is in. So, here's what I have written:Code: include ('file.php');This works
Displaying values from a SQL count...
Hi,Easy enough question i just forget the exact method ..I have ...Code: //count wins ...$count_wins = mysql_query("SELECT count(*) FROM `matches` WHERE result = 'W'AND Player1_ID =
How do I replace any number of character occurences with one occurrence?
How do I replace any number of character occurences with one occurrence?Let's say I have:aaaaaaaaaaaaaaaaaaaaaaAll of the above should be replaces with a single 'z' character say for exampleI can do
cURL Upload Help
OK, I am creating a bridge from a local program to my website and I am trying to find the best way to upload the client file from the local program (which is a CSV file) to my server. I was thinking I
Return X values where an ID number doesnt matter
Well as for subject heading, thats the best i could think of.Currently im having a problem with a rather old piece of script i had written for a guestbook.The guestbook itself relies completely on the
grouping within a foreach?
hello all,I currently have a list of products spit out from my db via a foreach loop. Right now I am styling these as a <li>I want to style the list so that the annual and the monthly
http to https
Hi,Is there any specific method/condition to move an http:// page to https:// ?
Need help with a mail notify function
I was tasked with setting up a site that's been prewritten. The site is basically a form that captures user's info on the frontpage. All the code is there except the ability to notify the admin upon
printing links
Hi every1i am connecting to a table in sql and the looping through with a while ($ var = my sql fetch array)the question i have is that when i print_r($var)i get the associative array of all elements
add text and number image
hi guys ..ok see i want the user to add their name and pick a number then click get it and it prints the name on top and the number bellow it on a t-shirt i just cant seem to get this rite i have no