You are here: Re: SELECT selects too quick « PHP SQL « IT news, forums, messages
Re: SELECT selects too quick

Posted by Captain Paralytic on 01/05/07 11:53

Anne Bos wrote:

> In a database about houses I want the visitor to make a choice by
> typing in an address. As a result the database presents one or more
> adresses according to the input. So far so good.
>
> However, when arriving on this page I want to present a greeting and
> some instructions. So the page starts with:
> <?php
> if (!isset ($_POST['address'])) {echo "Welcome, Instructions etc.";}
> ?>
>
> In spite of this I always get a list of all addresses, perfectly as I
> want to present them AFTER the input.
> What might I do wrong, what is it I'm overlooking?
> Any suggestion is appreciated.

Is the rest of the code in an "else" block, or will is execute
regardless of whether $_POST['address'])) is set?

 

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

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