,' ').
str_pad('10', 10,' ',STR_PAD_LEFT).
str_pad('2.00', 10,' ',STR_PAD_LEFT).
\n;
output:
long long name1000200.00
name10 2.00
Marek
micro brew wrote:
I am sending an email using mail() and it works
fine
I am sending an email using mail() and it works fine.
But the formatting of the body of the email is wrong.
I want to format part of it in columns sort of like
this:
Name Quantity Price
Can this be done neatly without using an html email?
Also what is the trick to making line
it. Thanks again for the help.
Mike
* Thus wrote micro brew ([EMAIL PROTECTED]):
Hi everyone,
I've been experimenting with sessions. I can make
them work just fine in a normal PHP page. But when
I
create a class and try to define a session variable
within a method in the class it won't work
Hi everyone,
I've been experimenting with sessions. I can make
them work just fine in a normal PHP page. But when I
create a class and try to define a session variable
within a method in the class it won't work. I've
tried setting the session variable directly
($_SESSION['name']='somevalue')
);
exit();
}
}
else {
session_register('loginError');
header(Location: $this-loginPage);
exit();
}
}
}
//closes class
}
?
--- CPT John W. Holmes [EMAIL PROTECTED]
wrote:
From: micro brew [EMAIL PROTECTED]
I've been experimenting with sessions. I can make
them work
Hi everyone,
Could somebody please explain to me the difference
between single quotes and double quotes in PHP. It
seems like they can be used interchangeably a lot in
PHP but not always. For example:
This works:
header('Location: http://somedomain.com')
This does not work:
header('Location:
6 matches
Mail list logo