Try:
$variable=sprintf('%4d%02d%02d', $yy, $mm, $dd));
- Original Message -
From: "Jeff Oien" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, March 20, 2004 11:36 AM
Subject: Re: [PHP] Convert Date Format?
> [EMAIL PROTECTED] wrote:
>
> > On 20 Mar
MYSQL_FETCH_ROW returns an array of the values of the columns in a row. When
you try to use that value as, for example, a string or in a print statement
you get the word Array. What you probably want to do is the following (not
knowing your actual column names):
if (($value = mysql_fetch_array($re
Thanks, Justin. I'll look into it.
Michael
- Original Message -
From: "Justin Patrin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 16, 2003 9:28 PM
Subject: [PHP] Re: saving resource objects
> Michael Lewis wrote:
> >
>
s" <[EMAIL PROTECTED]>
To: "Michael Lewis" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, December 16, 2003 9:25 PM
Subject: Re: [PHP] saving resource objects
> Hi,
>
> Wednesday, December 17, 2003, 12:15:24 PM, you wrote:
> ML> I posted this
I posted this on the PHP-DB list and then realized it was a more general
question about PHP than DB so I am posting it here also hoping someone can
help.
I have a fairly common problem that I have not been able to find the
solution for in the documentation and FAQs. I have to access a MSSQL box
fr
It all depends on how good you are, your experience, local pay rates, etc.
The range seems to be from $25 to $60 per hour in most cases.
Michael Lewis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
6 matches
Mail list logo