Gossamer Forum
Home : General : Perl Programming :

quite an easy question i believe?

Quote Reply
quite an easy question i believe?
good morning all.

I'm in the process of making a total house price calculator for my site one of which i've seen on other sites.

it's almost complet but i've come across a problem...

in real estate the agents fees change acording to the price of the house

what i need is to be able to is...
if the house price is higher than lets say $4 000 but lower than $40 000
for $price1 to equal 7

i came up with this but it don't work

elsif (($price < 4000) && ($price > 40000 ) && ($agent2 eq "ok")) {
$price1 =7;
}

can any one help?

thanks

davidd sargent
davidd@salut-france.com


Subject Author Views Date
Thread quite an easy question i believe? intermarkets 3619 Jun 8, 2001, 1:49 AM
Thread Re: quite an easy question i believe?
Andy 3537 Jun 8, 2001, 2:15 AM
Post Re: quite an easy question i believe?
intermarkets 3510 Jun 8, 2001, 2:31 AM
Post Re: quite an easy question i believe?
Andy 3506 Jun 8, 2001, 3:19 AM
Post Re: quite an easy question i believe?
shetland 3501 Jun 8, 2001, 3:58 AM