get a parse error!
$region_array = array('a' ='All of Scotland', 1 ='Aberdeen City Council',
2 ='Aberdeenshire Council', 3 ='AngusCouncil', 5 ='Argyll and Bute
Council', 6 = 'Clackmannanshire Council', 9 ='Dumfries and Gallowalloway',
10 = 'Dundee City Council', 11 = 'East Ayrshire Council',
On Tuesday 07 March 2006 08:08, Ross wrote:
$region_array = array('a' ='All of Scotland', 1 ='Aberdeen City Council',
2 ='Aberdeenshire Council', 3 ='AngusCouncil', 5 ='Argyll and Bute
Council', 6 = 'Clackmannanshire Council', 9 ='Dumfries and
Gallowalloway', 10 = 'Dundee City Council', 11 =
Nice spot ray!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ross wrote:
get a parse error!
$region_array = array('a' ='All of Scotland', 1 ='Aberdeen City Council',
2 ='Aberdeenshire Council', 3 ='AngusCouncil', 5 ='Argyll and Bute
Council', 6 = 'Clackmannanshire Council', 9 ='Dumfries and Gallowalloway',
10 = 'Dundee City Council', 11 = 'East
I think that the error is in the line above that.
Ross wrote:
get a parse error!
$region_array = array('a' ='All of Scotland', 1 ='Aberdeen City
Council', 2 ='Aberdeenshire Council', 3 ='AngusCouncil', 5 ='Argyll and
Bute Council', 6 = 'Clackmannanshire Council', 9 ='Dumfries and
You're Right. I don't saw that.
Stut wrote:
Ross wrote:
get a parse error!
$region_array = array('a' ='All of Scotland', 1 ='Aberdeen City
Council', 2 ='Aberdeenshire Council', 3 ='AngusCouncil', 5 ='Argyll and
Bute Council', 6 = 'Clackmannanshire Council', 9 ='Dumfries and
Gallowalloway',
try this:
if (empty(trim($_POST[new_password1])))
{
echo 'Empty!!!';
}
Meltem Demirkus [EMAIL PROTECTED] wrote in message
001701c25a2c$4758d4a0$5583@hiborya">news:001701c25a2c$4758d4a0$5583@hiborya...
Hi,
I want to understand what is wrong with this code?I am trying to
understand
In article 001701c25a2c$4758d4a0$5583@hiborya, mdemirkus@momentum-
dmt.com says...
Hi,
I want to understand what is wrong with this code?I am trying to understand
when an empty inputs come from form and I will then give a warning message..
if($_POST[new_password1] ==)
echo empty
Meltem Demirkus wrote:
Hi,
I want to understand what is wrong with this code?I am trying to
understand when an empty inputs come from form and I will then give a
warning message..
if($_POST[new_password1] ==)
echo empty input;
And as final addition, you probably have to use
I'ld also add isset() to avoid warnings too:
if (isset($_POST['new_password1'])
!empty(trim(isset($_POST['new_password1']
{
echo i am not empty, you can do whatever;
}
else
{
echo i am empty! show error message;
}
Erwin [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
10 matches
Mail list logo