Reply to Re: PHP Error on Password Check (SQL Database)

Your name:

Reply:


Posted by Schraalhans Keukenmeester on 06/04/07 16:59

At Mon, 04 Jun 2007 05:09:03 -0700, Sheik Ishmael let h(is|er) monkeys
type:

> Really Strange
>
> The code is exactly what is reproduced in the book "Essential PHP for
> Web Developers".
>
> --SI

I don't recall : ever being syntactically correct following an if () or
else. But even if it ever was, it isn't anymore. The online source is
wrong. Besides your copy here isn't a 100% copy of the one in the page you
referred to, you put a ; where the code has a :

It probably works if you remove all the : following if/elses, but I'd have
my doubts about the dubious quality of the work altogether and find
something better.

All code was written when php3 was standard. We're at 5 now, you will find
many version 4 scripts and hosts, but no php3 ones anymore. (Now someone
probably shows me a link to a host using php3 or even older....)

www.php.net is a good starting point.

--
Schraalhans Keukenmeester - schraalhans@the.Spamtrapexample.nl
[Remove the lowercase part of Spamtrap to send me a message]

"strcmp('apples','oranges') < 0"

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация