> -Original Message-
> From: Chris Knipe [mailto:[EMAIL PROTECTED]]
> Sent: 10 May 2002 04:38
>
> Just to clarify myself above...
> if ($var1 = $var2) { .
>
> In my crazy head, I see $var1 and $var2 to be in a sort of
> "read-only" state
> inside the () of the if statement. For a i
> if ($VerifyPasword[ContactID] = $_SESSION['ContactID'])
>
> This statement is /always/ true if $_SESSION['ContactID'] is non-zero, or
> non-empty.
>
> If your code is copy-and-paste then the error is most likely because you
used
> a single 's' in $VerifyPasword[ContactID]. And also is better t
On Friday 10 May 2002 10:52, Steve Buehler wrote:
> Nokeep writing to the list. Next time, you might actually
Good idea.
[snip]
> >What baffles me, is
> >
> > while ($VerifyPassword = mysql_fetch_array($PasswordCheckSQL)) {
> > // Compare UserIDs
> > if
> I am not an expert at PHP / MySQL. To me it would sound like the
> one = is assigning the $VerifyPasword[ContactID] whatever is in
> $_SESSION['ContactID'] which would mean that the else part would never be
> executed. Honestly though, there is a lot that I don't know. I know very
I
s, that this one requires a single = and not a double
>like all the other hundreds I have in my code?
>
>:) Thanks.
>
>--
>me
>
>
>- Original Message -
>From: "Steve Buehler" <[EMAIL PROTECTED]>
>To: "Chris Knipe" <[EMAIL PROTECTED]&g
Best bet is to go to any book store that carries programming books and pick
up a book on PHP. There are so many different things that you need to know
that nobody can mention them all here. The other option is to go to
http://www.php.net and read everything the site has.
$var = $value
assigns
6 matches
Mail list logo