Introduction Welcome Meh

brsy

nah mang
May 12, 2011
1,530
272
Hello DevBest!

I am not a new user, but I have never "formally" introduced myself. Here is some quick information about me and my past/present information. My name is Chris Davis, and I am 12 years old. I currently live in Bronx, NY, USA and I love (<3_<3) to code. I program in PHP, xHTML, CSS, HTML, SQL, and I recently started OO-PHP. Here's a quick sample of what I know in PHP:
PHP:
<?php
$newMember = "0";
$joinDate = "May 12, 2011";
if ($newMember = 0) {
echo "This user is not a new member. He has joined on .  '$joinDate'  .  ."; }
else {
echo "This member has just signed up on DevBest! Let's welcome him!"; }
?>

I currently own zGaming, and Desire Hotel. zGaming is a company that assists others in the process of maintaining, protecting, and setting up a private gaming server. Desire Hotel is a habbo retro created by zTriick (me) that is jam-packed with exclusive features.

Just wanted others to know about me :D
 

Heaplink

Developer & Designer
Nov 9, 2011
510
173
... Welcome! I guess.

Oh, just to clarify things in your sample - to be a total :poop::

PHP:
<?php
$newMember = false;
$joinDate = "May 12, 2011";
if (!$newMember || !isset($newMember)) {
echo "This user is not a new member. He has joined on " . $joinDate }
else {
echo "This member has just signed up on DevBest! Let's welcome him!"; }
?>
 

Heaplink

Developer & Designer
Nov 9, 2011
510
173
To be more exact I changed

PHP:
$newMember = false;
if (!$newMember || !isset($newMember))
echo "This user is not a new member. He has joined on " . $joinDate

The if statement checks if the value of $newMember is not true or is not set.
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,199
3,934
and

You could just check if your Join date is null instead of the extra bool? But anyways.. Welcome?
 

Users who are viewing this thread

Top