Hello,
On 12/12/2003 04:34 AM, Matt Perry wrote:
I use the following php mail function in an online applicaiton program:
mail($email, "application submitted", $message, "From:
[EMAIL PROTECTED]");
This function does not always work when I modify $message. I have
checked for null values for $mes
I use the following php mail function in an online applicaiton program:
mail($email, "application submitted", $message, "From:
[EMAIL PROTECTED]");
This function does not always work when I modify $message. I have
checked for null values for $message already but this does not seem to
be the pr
Thompson, Jimi wrote:
So then I try do this â
Note that this shouldnât work since it isnât a valid SQL statement.
> I'm not sure why PHP doesn't return some kind of an error message.
PHP does return an error message, you're just not displaying it.
$rswrk = mysql_query($sqlwrk) or die(mysql_err
Jimi,
PHP does not return an error because it knows nothing about valid sql.
It's just knows if it's a valid PHP statement. (which it is because
you've got the "'s in the right place and a ; at the end. ) :)
It's up to MySQL to return an error.
As to your statement.
1: It's easier and valid in
For some background, I've been tasked with building a marketing tracking application
by the PHB's who think that being able to write SQL means you can code. I know how to
get data into a database and I can do thing with it once it's in there, but this is
one of my first attempts at extracting a
After playing around some with SQLite with PHP5, I decided that I wanted
to have it working in PHP4 to start using it fully while waiting for
PHP5 to come out.
However, I ran into a snag ... after downloading
it/phpizeing/configure/make/makeinstall ... I added the
extension=sqlite.so line to m
"Tristan Pretty" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
com...
> HH, didn't work...?
Please echo out $row['bands'] and post the contents.
Regards, Torsten
>
>
>
>
>
>
> "Mikhail U. Petrov" <[EMAIL PROTECTED]>
> 18/05/2004 16:20
> Please respond to
> "Mikhail U. Petrov" <
HH, didn't work...?
"Mikhail U. Petrov" <[EMAIL PROTECTED]>
18/05/2004 16:20
Please respond to
"Mikhail U. Petrov" <[EMAIL PROTECTED]>
To
[EMAIL PROTECTED]
cc
[EMAIL PROTECTED]
Subject
Re: [PHP-DB] explode() and a database call...?
Hi!
You should use $row["bands"].
But maybe it's
Hi!
You should use $row["bands"].
But maybe it's only typing error.
I use such methos and have no errors.
Tuesday, May 18, 2004, 7:02:34 PM, Tristan wrote:
TPrsc> I'm trying to split up a field from a database that contains a list of
TPrsc> No's (Eg:1, 4, 12, 32)
TPrsc> If I do:
TPrsc> $bands_ar
I'm trying to split up a field from a database that contains a list of
No's (Eg:1, 4, 12, 32)
If I do:
$bands_array = explode(",", "1, 4, 12, 32");
I get the following array:
$bands_array[0] = 1
$bands_array[1] = 4
$bands_array[2] = 12
$bands_array[3] = 32
All good!
However...
Calling froma data
Hi!
"text" is of no importance.
I work only with "date".
If it's useful, nobody can prohibit that for you.
Monday, May 17, 2004, 10:43:43 PM, Daniel wrote:
DC> ORDER BY date, text ?
>> Hi!
>> You can use "order by date" and such method:
>>
>> $result = mysql_query(blablabla);
>> $date = "foo";
11 matches
Mail list logo