Jump to content
MakeWebGames

Codename: WestMafia


tprice88

Recommended Posts

i don't think it looks anything like GRPG, i know i used similar colors as it. but those are only temporary until i finish the engine and make some graphics.

and i dont think grpg has coding like this

function Usercheck($username) {

$db = connect();

$st = $db->prepare("select username from users where username=?");

$st->bindParam(1, $username);

$st->execute();

if($st->rowCount() ==1) {

echo '<div class="S-Game"><h2>Error</h2>Username allready in use.</div>';

return true;

}

}

Edited by tprice88
Link to comment
Share on other sites

i don't think it looks anything like GRPG, i know i used similar colors as it. but those are only temporary until i finish the engine and make some graphics.

and i dont think grpg has coding like this

function Usercheck($username) {

$db = connect();

$st = $db->prepare("select username from users where username=?");

$st->bindParam(1, $username);

$st->execute();

if($st->rowCount() ==1) {

echo '<div class="S-Game"><h2>Error</h2>Username allready in use.</div>';

return true;

}

}

Just a suggestion, indent your code ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...