Balaji,
I tried to implement the code you put in this email and I'm having some
problems. I am able to browse and choose a file from my system then click
upload. The php script doesn't get the value of $path.
The site is running PHP 4.2.1 on Windows NT 5.0. I am using Internet
Explorer 6.0.26
Here's one way assign each line:
";
echo "state is $state";
echo "city is $city";
echo "comapny is $company";
echo "division is $division";
echo "url is $url";
echo "email is $email";
fclose($whattoread);
?>
Bev
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sen
, Beverly Steiner wrote:
> Uli & others,
>
> Thanx for the suggestions. This works as stated but the data already
> exists in this format from an old database and I'm trying to parse it into
> logical fields. Originally the data in the field looked something like
> 1$General
gex too (same reason). the backslash in this case
(\$) refers to perl regular expression syntax but does not take care of php
!
$new_string = preg_replace('/\$/', "%", $test_string);
ub
At 10:58 29.06.02 -0400, Beverly Steiner wrote:
>I've tried everything I can thi
John,
Try using the number_format function.
Bev
-Original Message-
From: John Wulff [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 29, 2002 3:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Limiting number of decimal places reported
How do I limit the number of decimal places returned in
to change $ char in string
On Saturday 29 June 2002 22:58, Beverly Steiner wrote:
> I've tried everything I can think of to change a dallar sign in a string
to
> something else or to split the string on the $ but I can't the the
> information that comes after the $.
>
> Typic
I've tried everything I can think of to change a dallar sign in a string to
something else or to split the string on the $ but I can't the the
information that comes after the $.
Typical string contains: 1.2$General/ms1.zip
when I try:
$new_string = preg_replace("/\$/", "%", $test_string
7 matches
Mail list logo