You are here: Re: if AND « PHP Programming Language « IT news, forums, messages
Re: if AND

Posted by Bas Cost Budde on 05/21/07 22:20

Uit het bericht van Johannes:
> Hey guys,
>
> I'm building a login script using an active or inactive state, but
> when i check for this state it just simply skips to the incorrect
> login. It looks like the If ... AND ... part isn't working. Can
> anybody give me a hand with this problem?
>
> here's the code I use:
>
> <?php
> include("connect.php");
> session_start();
>
> if (!empty($_POST)){

(hit Send too early, sorry about that)

you might want to narrow this test a little further. The first branch of
POST you're using is $_POST["Email"]; if you change this test to
if (isset($_POST["Email"])), does that help?

--
that same footer. Where did we set that again?

 

Navigation:

[Reply to this 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

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