![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveA simple IF condition.
From: Alec <ajtdds@aol.com>
Date: Fri Sep 02 2005 - 14:46:29 CEST
I have a simple IF condition to check whether an entered town name for
The form search produces $townsearch
The check should return "Cannot Find The Town" if $townsearch does not
The database is correct, and the SQL query OK.
So why can I type anything in and it accepts it??
(Day 4 of learning PHP)
Alec
<?php $townsearch = $_GET['town']; ?>
<?php
}
?>
|