See:
http://www.php.net/manual/en/function.is-numeric.php
Well I want to check that the format is a number. Because it's
currency, I want to double check to see if there are any $s or similar,
and strip them (maybe trim?). And I want to convert the number from a
string to a number -- which is
PS I have not yet checked http://www.phpclasses.org (waiting for log in
details to come through), though I've looked through recent threads.
-Original Message-
From: Dillon, John
Sent: 05 June 2003 11:59
To: [EMAIL PROTECTED]
Subject: Calendar showing availability of apartments/h
I'm looking for your recommendations for php scripts which will give me a
web based calendar for showing 'vacant', 'not available' or 'availability
unknown' states, based on days available for a particular apartment in the
database - eg for 'not available' perhaps the day is crossed out or in red
b
I have a text box on a web page and submit button. The php code sends the
text as an email. If the text includes an inverted comma/apostrophe the
email will include a backslash before it, thus: \'. I know how to
str_replace in php, but what do I need to replace the apostrophe with to
avoid the \
My problem relates to IF statement in the following code. There are two
checkboxes, named altid$thisid, so for instance they become altid36 and
altid37. When the form is submitted with both checked, I can read the first
altid36, but the second does not pass the IF test. Any suggestions re
possib
5 matches
Mail list logo