Search found 8 matches

by jameshutchings
Sun Dec 13, 2015 1:25 am
Forum: Beginner Help and Support
Topic: PHP question: can't do /index?a=2&b=3... [Solved]
Replies: -1
Views: 1798

PHP question: can't do /index?a=2&b=3... [Solved]

My server has recently changed the version of PHP it uses. The games on my site rely on passing variables from one screen to the next in the URL. For example: http://www.apolitical.info/webgame?a=2&b=6&c=++-++.+ and so on. The version of PHP they've changed to doesn't do this. What should I ...
by jameshutchings
Wed Apr 29, 2015 6:13 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

i) Where can I learn about mysqli?

ii) For now, what do I do to get id, firstname etc?

I forgot to add that there should only be one result for this SELECT.
by jameshutchings
Wed Apr 22, 2015 3:39 am
Forum: Beginner Help and Support
Topic: Beginner PHP/MySQL question: SELECTing multiple variables.
Replies: -1
Views: 1585

Beginner PHP/MySQL question: SELECTing multiple variables.

Say I SELECT several things from a single database, and then put one into a variable: $result=mysql_query ("SELECT id, firstname, lastname FROM characters",$link); $x=mysql_result($result,1); In this example, will $x be equal to the result stored in firstname? If not, what would I enter to...
by jameshutchings
Thu Mar 12, 2015 3:44 am
Forum: Beginner Help and Support
Topic: PHP/MySQL: Secure logging in on public computers? (solved)
Replies: -1
Views: 4622

Re: PHP/MySQL: Secure logging in on public computers?

Thanks- but can you give me an example of how to do that?
by jameshutchings
Tue Mar 10, 2015 5:46 am
Forum: Beginner Help and Support
Topic: PHP/MySQL: Secure logging in on public computers? (solved)
Replies: -1
Views: 4622

PHP/MySQL: Secure logging in on public computers? (solved)

My game checks the user's email and password against its database. So it might send you to http://www.mygame.com?emailadd=gra33@yahoo.com&password=green45 If gra33@yahoo.com's password wasn't green45, the page would give an error message. However, if someone is playing on a public computer and s...
by jameshutchings
Mon Mar 09, 2015 7:42 am
Forum: Beginner Help and Support
Topic: mysql INSERT command isn't working [solved]
Replies: -1
Views: 1094

Re: mysql INSERT command isn't working [solved]

The problem seemed to be 'keyword 1' and 'keyword 2'. When I changed them to 'keyword1' and 'keyword2' it worked.
by jameshutchings
Sun Mar 08, 2015 4:28 am
Forum: Beginner Help and Support
Topic: mysql INSERT command isn't working [solved]
Replies: -1
Views: 1094

mysql INSERT command isn't working [solved]

I'm trying to set up a system which registers accounts. The page where you register is http://www.apolitical.info/private/teleleegame The registration does what it's supposed to: put your email, password and a random code into a MySQL database called 'pending', and send you an email with a link. The...

Go to advanced search