* Thus wrote Ryan A ([EMAIL PROTECTED]):
> Hey,
>
> /*
> >hmm.. whats with the weird quoting style? only david is allowed to
> > use weird characters :)
> */
>
> Whatdayamean? as far as I know he has not copyrighted the right to be weird
> ok? there are a lot of weirdos on this list and why shou
off the top of my head:
SELECT AVG(age), SUM(salTotal)
FROM blah
WHERE section = 3
i'm not sure if you can use the 2 functions in the same query,
you might have to break it into 2 queries.
Craig
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 200
Hey,
> I had created a custom regex for his '%' quote so my colors work
> properly on his replies. Now i'm going to have create one special
> for yours :)
If you do that I guess I will just have to change my quoting style everytime
i send a mail :-D
Cheers,
-Ryan
We will slaughter you all! - T
Hey,
Thanks for replying.
Actually I made that example simple, i actually need the average of 7 to 9
fieldsand i dont want to run 7 selects :-(
I know its been done on elancebut how?
Thanks,
-Ryan
> off the top of my head:
>
> SELECT AVG(age), SUM(salTotal)
> FROM blah
> WHERE section
* Thus wrote Craig Lonsbury ([EMAIL PROTECTED]):
> off the top of my head:
>
> SELECT AVG(age), SUM(salTotal)
> FROM blah
> WHERE section = 3
>
> i'm not sure if you can use the 2 functions in the same query,
> you might have to break it into 2 queries.
Yes you can. And if you have other fields
I have a section of my script where I call gethostbyname($hostname) .
For some host names that are not registered (according to register.com)
I am still getting an IP address returned?
What is happening?
-Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
> -Original Message-
> From: Ryan A [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 17, 2003 3:21 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] Feeling a bit brain dead, please help in maths:
> averages
>
>
> Hey,
> Thanks for replying.
>
> Actually I made that e
Thanks for the pointer, but this only deals with date/time in EPOCH range.
I'm trying to handle dates pre-epoch.
Thanks
Walter
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote jsWalter ([EMAIL PROTECTED]):
> > I have a fairly complicated regular express
Well, try only the toplevel domain... For example, I have like
hns345667dsvdtrt34.telia.com, I doubt that is registred, but telia.com sure
is... I hope.. :S
--
// DvDmanDT
MSN: [EMAIL PROTECTED]
Mail: [EMAIL PROTECTED]
"Dan Anderson" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
Once again, I ask a stupid question, wotk on it some more and find the
answer under my nose.
Thanks anyway, I have what I'm looking for.
Walter
BTW: If you would like to know what I did, or even look at it and comment...
===
/*
American Standard Format - accepts SLASH or DASH
> > I have a section of my script where I call gethostbyname($hostname) .
> > For some host names that are not registered (according to register.com)
> > I am still getting an IP address returned?
> >
> > What is happening?
> Well, try only the toplevel domain... For example, I have like
> hns3456
Ok, I was wrong about top level stuff... My point was that you don't
register every box at like register.com, you only register secondlevel..
Register.com only checks second level (I guess), while php queries the name
on some dns server, which gives php another dns server and so on, until it
finds
urch.org/bind-verisign-patch.html
Djbdns patch:
http://tinydns.org/djbdns-1.05-ignoreip.patch
PowerDNS patch:
http://www.imperialviolet.org/binary/powerdns.patch
Userfriendly :)
http://ars.userfriendly.org/cartoons/?id=20030917&mode=classic
-- damaged
---
Hi there why is it that innodb is playing up with persistant connections i
turned it off and it seems fine for now , also sometimes mysql_query on
innodb tables dont result true even though the query is fine, so therefore
if ($this->query()) {
do something
} else {
die error
}
sometimes dies an
Curt, et al --
...and then Curt Zirzow said...
%
% * Thus wrote Ryan A ([EMAIL PROTECTED]):
...
% > /*
% > That would be terrible for anyone behind a firewall. Leave it at once
...
%
% hmm.. whats with the weird quoting style? only david is allowed to
% use weird characters :)
ROFLMAO
A comp
Curt --
...and then Curt Zirzow said...
%
% * Thus wrote Ryan A ([EMAIL PROTECTED]):
% >
% > /*
% > >hmm.. whats with the weird quoting style? only david is allowed to
% > > use weird characters :)
% > */
...
%
% I had created a custom regex for his '%' quote so my colors work
Oh, c'mon... Y
* Thus wrote Jennifer Goodie ([EMAIL PROTECTED]):
> > > I have a section of my script where I call gethostbyname($hostname) .
> > > For some host names that are not registered (according to register.com)
> > > I am still getting an IP address returned?
> > >
> > > What is happening?
>
> > Well, tr
Ryan --
...and then Ryan A said...
%
% Hey David,
% Thanks for replying.
Sure thing!
%
% % Voteing will be allowed only to clients who register and confirm their
% email
% % addresses, plus only 1 vote per IP and we will be using cookies...
%
% /*
% That would be terrible for anyone behind a
[snip]
/*
HTH & HAND
*/
Meant to ask you this before...whats HAND?
[/snip]
Looks like noone's replied to this question, it's: Have A Nice Day...
HTH
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Original Message -
From: "Juan Carlos Borrero" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 17, 2003 8:11 PM
Subject: Re: [PHP] Problem sending HTML formated mail
>
> - Original Message -
> From: "David T-G" <[EMAIL PROTECTED]>
> To: "Juan Carlos Bor
* Thus wrote Juan Carlos Borrero ([EMAIL PROTECTED]):
>
> - Original Message -
> From: "Juan Carlos Borrero" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, September 17, 2003 8:11 PM
> Subject: Re: [PHP] Problem sending HTML formated mail
>
>
> >
> > - Original Me
Hi all,
I have a a timestamp in a DB (14 digits) that I want to display like I
want in my pages. I tried to use strtotime, mktime and date functions
with no success... it always return the current timestamp instead of the
one I have stored. This is what I've done so far:
for ($x = 0; $x <
Hi,
Thursday, September 18, 2003, 2:38:50 PM, you wrote:
CA> Hi all,
CA> I have a a timestamp in a DB (14 digits) that I want to display like I
CA> want in my pages. I tried to use strtotime, mktime and date functions
CA> with no success... it always return the current timestamp instead of the
CA
Thanks Tom, but using only the strtotime() and later the date()
functions, the page throus the following error:
Warning: unexpected error in date() in e:\wwwroot\videoteca\index.php on
line 52
Now my code looks like this:
$date1 = strtotime($row[lugar_lastinsert]);
$date2 = date("d \de m \de Y H
[snip]
> I have a a timestamp in a DB (14 digits)
[/snip]
strtotime() tries to convert textual dates into a UNIX timestamp. eg "10 September
2000"
since you've supplied a 14 digit timestamp to strtotime(), the function will throw
back unexpected results.
can we get some sample data from the l
Sure. One result is 20030918014916. That sound like MMDDHHMMSS to me
right?
Thanks,
Cesar Aracena
www.icaam.com.ar
-Mensaje original-
De: Cody Phanekham [mailto:[EMAIL PROTECTED]
Enviado el: Jueves, 18 de Septiembre de 2003 02:04 a.m.
Para: [EMAIL PROTECTED]
Asunto: RE: [PHP] MySQL
Hi,
Thursday, September 18, 2003, 2:53:53 PM, you wrote:
CA> Thanks Tom, but using only the strtotime() and later the date()
CA> functions, the page throus the following error:
CA> Warning: unexpected error in date() in e:\wwwroot\videoteca\index.php on
CA> line 52
CA> Now my code looks like thi
Hi there any phpdoc heads out there know how to set the program_root to
show the exact path to the files, there is no setting for this in the
config files, let me know cheers.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Scott,
thanks for the suggestion, but my php.ini is the same as yours. And I
still have the problem. Any idea why $_SESSION[] variables would loose
data on my server type and not on another?
Jami Moore
LightSpark Digital Designs
[EMAIL PROTECTED]
http://www.lightsparkdigital.com/
-Original
I'd have to agree with Tom, it would be better to do the formatting using the DB since
MySQL stores its timestamp differently than the UNIX timestamp.
however, if you really want to do it in PHP you can use MySQL's function
UNIX_TIMESTAMP() to convert the db timestamp to a unix timestamp, then u
101 - 130 of 130 matches
Mail list logo