On Wed, August 1, 2007 5:00 pm, Michael Preslar wrote:
I know it has to do with date='`date +%Y%m%d`', because if I remove
it
works.
Are you trying to use perl's back tic operator in php here?
Close.
He's trying to use the shell's back tick operator in MySQL.
I think.
It would actually
Stut wrote:
Michael Preslar wrote:
I know it has to do with date='`date +%Y%m%d`', because if I remove it
works.
Are you trying to use perl's back tic operator in php here?
PHP also supports the that.
However, I think the OP's problem is that it's inside other quotes and
is therefore not
Payne wrote:
Stut wrote:
Michael Preslar wrote:
I know it has to do with date='`date +%Y%m%d`', because if I remove it
works.
Are you trying to use perl's back tic operator in php here?
PHP also supports the that.
However, I think the OP's problem is that it's inside other quotes
and is
Guys,
Got a quick question. I got a sql statement works when I pass it from
the cli. but if I try in php I get nothing.
This is the statement.
Select ip, date, time, CONCAT(city, ', ',country) as location from ips
where country !=' ' and date='`date +%Y%m%d`' order by country asc;
I know
Payne wrote:
Guys,
Got a quick question. I got a sql statement works when I pass it from
the cli. but if I try in php I get nothing.
This is the statement.
Select ip, date, time, CONCAT(city, ', ',country) as location from ips
where country !=' ' and date='`date +%Y%m%d`' order by country
I know it has to do with date='`date +%Y%m%d`', because if I remove it
works.
Are you trying to use perl's back tic operator in php here?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Michael Preslar wrote:
I know it has to do with date='`date +%Y%m%d`', because if I remove it
works.
Are you trying to use perl's back tic operator in php here?
PHP also supports the that.
However, I think the OP's problem is that it's inside other quotes and
is therefore not being
Hello,
I have a question about the date.
I have a script that compose an e-mail and send it. No
problem until now, but I also need that the script can
write the date of the next week.
Let say we are Wednesday. The script must write the
date of Wednesday 3rd in the e-mail. But from 5pm
today, it
8 matches
Mail list logo