Search found 178 matches

by Winawer
Mon Feb 06, 2017 7:57 am
Forum: Off-Topic
Topic: Should I feel bad to make more quantity and less quality?
Replies: -1
Views: 3947

Re: Should I feel bad to make more quantity and less quality

Small games does not equal lower quality. Many small games have very high quality precisely because they are small and a lot of time (relatively) can be spent on polish, testing etc.

IMO, if your intention is to flood Steam with games of questionable quality, you should feel at least a little bad.
by Winawer
Wed Nov 25, 2015 6:46 am
Forum: Advanced Help and Support
Topic: Table Compares (SOLVED)
Replies: -1
Views: 5011

Re: Table Compares

Probably something like <?php         $plSector = mysql_query("SELECT COUNT(*) AS num_planets FROM planets WHERE sector_id='$sector"); //assuming $sector is the sector id of the ship         $numPl = mysql_fetch_array($plSector);         $num_planets = $numPl["num_planets"];    ...
by Winawer
Tue Nov 24, 2015 7:18 am
Forum: Advanced Help and Support
Topic: Table Compares (SOLVED)
Replies: -1
Views: 5011

Re: Table Compares

Probably something like <?php         $plSector = mysql_query("SELECT COUNT(*) AS num_planets FROM planets WHERE sector_id='$sector"); //assuming $sector is the sector id of the ship         $numPl = mysql_fetch_array($plSector);         $num_planets = $numPl["num_planets"];     ...
by Winawer
Mon Nov 23, 2015 6:35 am
Forum: Beginner Help and Support
Topic: Update DB (SOLVED)
Replies: -1
Views: 2161

Re: Update DB

Code: Select all

$sql = "UPDATE players SET last_login=CURDATE(), online='1' WHERE email='$email'"; 
by Winawer
Fri Jul 10, 2015 5:43 am
Forum: Coding
Topic: Infinite Scrolling PHP
Replies: -1
Views: 5033

Re: Infinite Scrolling PHP

Yeah, you'll need javascript.
by Winawer
Wed Apr 29, 2015 10:47 am
Forum: Beginner Help and Support
Topic: Beginner PHP/MySQL question: SELECTing multiple variables.
Replies: -1
Views: 1585

Re: Beginner PHP/MySQL question: SELECTing multiple variable

jameshutchings wrote:i) Where can I learn about mysqli?
http://php.net/manual/en/book.mysqli.php
jameshutchings wrote:ii) For now, what do I do to get id, firstname etc?
Do what Chris showed you.
jameshutchings wrote:I forgot to add that there should only be one result for this SELECT.
Your game will only have one character?
by Winawer
Tue Apr 28, 2015 7:09 am
Forum: Beginner Help and Support
Topic: registration page
Replies: -1
Views: 1006

Re: registration page

Use mysql_error to see why the query is failing.

It's also a good idea to output the query itself to see that it actually looks like you think it looks like.
by Winawer
Tue Apr 28, 2015 7:00 am
Forum: Older Browser MMO Videos
Topic: Strange letter on battle.php
Replies: -1
Views: 2437

Re: Strange letter on battle.php

Looks like a byte order mark (BOM). It's being added by your editor so check your file encoding settings.
by Winawer
Thu Apr 09, 2015 5:52 am
Forum: Beginner Help and Support
Topic: problem with strings (SOLVED)
Replies: -1
Views: 2862

Re: problem with strings

SFC wrote:
Winawer wrote:You're missing a call to mysql_connect().
Where?
Before you call mysql_query. You'll also need a call to mysql_select_db.

Go to advanced search