I'm trying to match alphanumeric characters, some common symbols, and
spaces. Why does this NOT match strings containing spaces?:
[A-Za-z0-9\'.&-:underscore::space:]
I've also tried these, that also fail to match strings containing spaces:
[A-Za-z0-9\'.&- :underscore:]
[A-Z a-z0-9\'.&-:underscore
On Monday 15 September 2003 06:55, Stevie D Peele wrote:
> Is PHP space sensitive??
No. Statements are terminated by a semi-colon.
This:
-
echo
"This is the same"
;
-
is the same as
-
://MrSahaf.com
- Original Message -
From: "John W. Holmes" <[EMAIL PROTECTED]>
To: "Stevie D Peele" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 1:13 AM
Subject: Re: [PHP] space sensitive?
> Stevie D Peele wrote:
>
Stevie D Peele wrote:
Is PHP space sensitive??
PHP is very sensitive about it's space. Don't go into it's personal
space otherwise you can upset it and cause it to cry.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The M
Is PHP space sensitive??
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
--
PHP General Mailing List (http://www.php.net
The manual is your friend! :)
www.php.net/nl2br
Diksha Neel wrote:
hi all!
in an html file thru a php script, i have to put in some
data.
i am using variable $string to write the data as under.
what i want to know is how can i ensure that the value of
$badd1 and $area get written on different lin
hi all!
in an html file thru a php script, i have to put in some
data.
i am using variable $string to write the data as under.
what i want to know is how can i ensure that the value of
$badd1 and $area get written on different lines.
in other words, i want to know how to use '\n' here.
thanks,
dik
In article <001301c12476$3420f300$82602c3f@2pqjp01>,
[EMAIL PROTECTED] (Jack Dempsey) wrote:
> > that removes trailing space - but is there one that removes ALL spaces
> > from a string? Like:
> >
> > $string = "this is a string";
> > rmspc($string);
> > // $string is now "thisisastring"
> $st
$string = str_replace(' ','',$string);
-Original Message-
From: Martin Skjoldebrand [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 12:03 AM
To: [EMAIL PROTECTED]
Subject: [PHP] space in strings
Some time ago I needed a function that remove space in string
Some time ago I needed a function that remove space in strings.
Sure there is one that remove space at the start of the string, and one
that removes trailing space - but is there one that removes ALL spaces
from a string? Like:
$string = "this is a string";
rmspc($string);
// $string is now "this
Wee Chua wrote:
>
> Hi all,
> I would like to have codes which will could automatically generate as many
> as sequence number variables based on how many rows return from the query,
> such as if I have 10 rows from the query result, I would have
> $var1,$var2,$var3,$var4and so on, but the val
Hi all,
I would like to have codes which will could automatically generate as many
as sequence number variables based on how many rows return from the query,
such as if I have 10 rows from the query result, I would have
$var1,$var2,$var3,$var4and so on, but the value of $var1 would equal to
3
12 matches
Mail list logo