Forum Topic: Php: Main

(45,535 views • 608 replies)

This topic is 21 pages long. [ 1713 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 ]

<< < > >>
None

DearonElensar

Reply To Post Reply & Quote

Posted at: 8/9/08 04:35 PM

DearonElensar LIGHT LEVEL 18

Sign-Up: 06/10/02

Posts: 1,222

At 8/9/08 04:22 PM, ZiggyZack99 wrote: if ($DFox[Status] = "Yes" | $DFox[Status] = true) {

Also, Status is not always Yes. Status is an array element retreived from the _GET array. If it is false, then *ssslcckkkk* (throat-cutting noise). Srsly, answer the question. Also, a pipe is OR. Don't say it's not, I've used it like that before.

A = means is, if you want to compare 2 variables use == (or even === in certain cases), right now you say that status is Yes.
And an or is || not | so that fails horribly too.
So basically this if fails really hard, please please go fix up your coding standards before doing something else :(

BBS Signature

Happy

ZiggyZack99

Reply To Post Reply & Quote

Posted at: 8/9/08 07:30 PM

ZiggyZack99 DARK LEVEL 14

Sign-Up: 04/15/07

Posts: 2,485

At 8/9/08 04:35 PM, DearonElensar wrote:
At 8/9/08 04:22 PM, ZiggyZack99 wrote: if ($DFox[Status] = "Yes" | $DFox[Status] = true) {

Also, Status is not always Yes. Status is an array element retreived from the _GET array. If it is false, then *ssslcckkkk* (throat-cutting noise). Srsly, answer the question. Also, a pipe is OR. Don't say it's not, I've used it like that before.
A = means is, if you want to compare 2 variables use == (or even === in certain cases), right now you say that status is Yes.
And an or is || not | so that fails horribly too.
So basically this if fails really hard, please please go fix up your coding standards before doing something else :(

Half right. Thanks for pointing that glaring hole in my code out to me. = is for assignment, == is for comparing. However, if | is not or, how come it works as such on my site? And don't worry, I try to "fix up my coding standards" every day. :)

Privacy Policy | Terms of Use | Ban Status
01110111 01100001 01110011 01110100 01100101 00100000 01101111 01100110 00100000 01110100 01101001 01101101 01100101

BBS Signature

Shouting

ZiggyZack99

Reply To Post Reply & Quote

Posted at: 8/9/08 07:32 PM

ZiggyZack99 DARK LEVEL 14

Sign-Up: 04/15/07

Posts: 2,485

Also, answer the question. Is DFox going to update this anymore? He hasn't posted in a month.

sry bout teh dubblepost

Privacy Policy | Terms of Use | Ban Status
01110111 01100001 01110011 01110100 01100101 00100000 01101111 01100110 00100000 01110100 01101001 01101101 01100101

BBS Signature

None

ZiggyZack99

Reply To Post Reply & Quote

Posted at: 8/9/08 07:45 PM

ZiggyZack99 DARK LEVEL 14

Sign-Up: 04/15/07

Posts: 2,485

At 8/9/08 07:40 PM, DearonElensar wrote: http://nl.php.net/manual/en/language.ope rators.logical.php

Lol, I was wrong all that time! Srsly, programming fodder aside, is DFox ever going to update this?

Privacy Policy | Terms of Use | Ban Status
01110111 01100001 01110011 01110100 01100101 00100000 01101111 01100110 00100000 01110100 01101001 01101101 01100101

BBS Signature

None

Jon-86

Reply To Post Reply & Quote

Posted at: 8/9/08 08:15 PM

Jon-86 NEUTRAL LEVEL 12

Sign-Up: 01/30/07

Posts: 1,860

99% says NO

http://www.newgrounds.com/bbs/topic/5709 86/385

PHP Main :: C++ Main :: Java Main :: BLOGS..! "For people who want to whine,
when there's nobody there to listen"
- authorblues

BBS Signature

None

PHP-Main

Reply To Post Reply & Quote

Posted at: 8/17/08 10:14 AM

PHP-Main NEUTRAL LEVEL 02

Sign-Up: 08/17/08

Posts: 1

Good Thing!

I have noticed this topic is dying because of DFox leaving. This is bad, so I decided to bring it back.
http://php-main.newgrounds.com/
I'll try to update it at least once a week. Also, the php-main user idea is a good one, now we have one centralized place for all the tutorials.

Bye!


None

DearonElensar

Reply To Post Reply & Quote

Posted at: 8/17/08 11:01 AM

DearonElensar LIGHT LEVEL 18

Sign-Up: 06/10/02

Posts: 1,222

I suppose your Ziggy or whatever, but this is a really bad idea.
There is a reason we post the list in this topic and not on a profile.
Right now there is no real reason to update the list in my opinion so we can just as well wait until there is a new tutorial that we can agree upon should be in the list.

BBS Signature

None

Jessii

Reply To Post Reply & Quote

Posted at: 8/17/08 12:10 PM

Jessii DARK LEVEL 33

Sign-Up: 02/10/05

Posts: 8,640

The "spoiled brattiness" of the last few posts have actually be the ones to kill this topic. When someone comes up with a new PHP tutorial, they'll post it and it can get updated without a problem but since no one's posted a tutorial in a while, it's not necessary to update it.


All times are Eastern Standard Time (GMT -5) | Current Time: 11:49 AM

<< Back

This topic is 21 pages long. [ 1713 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 ]

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!