Ahaha no more PHP fortunately. I primarily deal in Typescript and C# at the moment but dabble in Rust and Golang in my own time as well. Great work on Sterno too! It looks really cool.
G'day mates,
I doubt many of you actually know me as I was a bit of a spud back in the day, or at least I was publicly. Anyhow I'm back because of nostaligia and all that and am giving away 5 $1 subs to show my appreciation for this shitbox still being around.
If you'd like one simply tell me...
This should work >.> as you are returning an array and trying to query it which won't work.
<?php
$homeroom = mysql_query("SELECT home_room FROM users WHERE id = '".$_SESSION['user']['id']."' LIMIT 1");
$gethomeroom = mysql_result($homeroom, 1);
$homename = mysql_query("SELECT caption FROM rooms...
I've recently gotten back into to PHP and decided to try and make a framework, it's pretty basic and doesn't offer to much in the way of features etc. But it should be good for learning.
It uses PDO for database access and RainTPL for templating.
Ps. Let me know if anything needs fixing or if...
Register is currently an object this why you can't use an if statement.
Also you're best off just using a config variable to determine whether one can register.
E.g
// Array for Config variables
$Config['CanRegister'] = false; // False
if($Config['CanRegister'] == true)
{
echo 'Forms and...