Ok I'm having a problem with the new line char \n in strings. I'm
trying to contrast an email that gets sent with the mail() function.
Here is what I'm doing.
$message = line1\n;
$message .= line2\n\n;
$message .= line3\n;
...
$message = lne99;
mail (email, subject, $message);
but when
: Friday, January 25, 2002 3:56 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] strings and \n
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Greg Sidelinger blurted
Ok I'm having a problem with the new line char \n in strings. I'm
trying to contrast an email that gets sent
Ok I have use mysql_fetch_array to dump the results of a select query with a
join in it.
if my tables contain a column with the same name how can I distinguish from
them. I'm used to
table_name.value method in other languages but when I tried
$row['table_name.value'] I don't get any values.
can
I'm having trouble getting an update query to work
Here is what I'm doing
$result = mysql_query(update table set value1='$value1',
value2='$value2' where id='$id');
It is not updating the database. All the $vars have values and I'm
using the correct columns names. Could someone please
Can someone tell me how to store a class in a session var. I want to
test to see if it has been defined and if not create it. I'm having
problems with it right now.
This is what I'm trying currently
?
Class a
{
var $temp;
function a()
{
vars.
Greg Sidelinger
6 matches
Mail list logo