I had a tiny syntax error keeping it from working in the form of a cap letter.
On 7/28/09 3:51 PM, "Miller, Terion" wrote:
On 7/28/09 3:48 PM, "Bastien Koert" wrote:
On Tue, Jul 28, 2009 at 4:02 PM, Miller,
Terion wrote:
> Ok so I got the
> $inDate = strtotime($results[3][$i]);
>
> Giving
On 7/28/09 3:48 PM, "Bastien Koert" wrote:
On Tue, Jul 28, 2009 at 4:02 PM, Miller,
Terion wrote:
> Ok so I got the
> $inDate = strtotime($results[3][$i]);
>
> Giving me the unix date now I am trying all the different date functions that
> will put it in the -00-00 like sql stores it beca
On Tue, Jul 28, 2009 at 4:02 PM, Miller,
Terion wrote:
> Ok so I got the
> $inDate = strtotime($results[3][$i]);
>
> Giving me the unix date now I am trying all the different date functions that
> will put it in the -00-00 like sql stores it because I ran it with the
> unix stamp and it just
OMG AND I FIGURED IT OUT MYSELF...dang I just may be learning some php..
On 7/28/09 3:02 PM, "Miller, Terion" wrote:
Ok so I got the
$inDate = strtotime($results[3][$i]);
Giving me the unix date now I am trying all the different date functions that
will put it in the -00-00 like sql store
Ok so I got the
$inDate = strtotime($results[3][$i]);
Giving me the unix date now I am trying all the different date functions that
will put it in the -00-00 like sql stores it because I ran it with the unix
stamp and it just stored 00 in the db
Hoping something like this works?
$forma
Well I was going along smoothly from this morningbut it came down to
having to change the field type to date in the mySQL..so now I have this
which returns a scraped value formatted like this 0/00/00 m/d/y
$inDate = $results[3][$i];
Which date function can I use to format for the db so that
ot;temp"])
> >
> > HTH
> >
> > Sam Masiello
> > Software Quality Assurance Engineer
> > Synacor
> > (716) 853-1362 x289
> > [EMAIL PROTECTED]
> >
> >
> >
> > -Original Message-
> > From: Francis [mailto:[E
>
> ORif you want to be sure the value is a number as well:
>
> if ($_SESSION["temp"] > 0 && $_SESSION["temp"] != "" &&
> is_numeric($_SESSION["temp"])
>
> HTH
>
> Sam Masiello
> Software Quality Assurance Engineer
> Syn
t;] > 0 && $_SESSION["temp"] != "" &&
is_numeric($_SESSION["temp"])
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Francis [mailto:[EMAIL PROTECTED]]
Sent: M
tions are true then it'll execute the "..." block.
Please note that this code has not been tested and is prone to typos.
:)
Matt
> -Original Message-
> From: Francis [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 14, 2002 9:23 AM
> To: [EMAIL PROTECTED]
> Subj
$var = 0;
if(!is_int($var)) {
echo '$var isn\'t numeric';
}
and simple 'not' is going to ignore '0'. To check wherther a value is an
integer use is_int() or is_numeric(), which are the same things anyway.
If you care that the value is also higher than '0' add [ and $var>0] as
the secon
ok going mad all I need to do is check a variable and if it has a number in
it then do something, so anything from 0 up, but it keeps thinking 0 is null
and failing, anyway around this? or am I just being stupid as usual?
$_SESSION["temp"] = 0;
$tempVar = 0;
if($_SESSION["temp"] !=""){ echo "!=
I just finished recompiling PHP, and attempt to start the webserver
agian, but i get the following error:
Setting up Web Service: Syntax error on line 58 of
/etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server:
/etc/httpd/modules/libphp4.so: undefined symbol: uncomp
Is it an array, or a single variable?
Wes
> Ok this is getting frustrating! I am serializing a variable and passing it
> through the url, in the url and when I echo it on the next page it shows
> s:608:, and when I unserialize it and echo it, it doesnt show anything! How
> can I pull that dat
Ok this is getting frustrating! I am serializing a variable and passing it
through the url, in the url and when I echo it on the next page it shows
s:608:, and when I unserialize it and echo it, it doesnt show anything! How
can I pull that data out in the next page?
Rick
"It is the mark of an
i'm still battling with gd and php and freetype. This was a non issue
before i upgraded to 4.0.6
look.
Warning: libgd was not built with TrueType font support in
/virt/jrehomes/www/tvhc/test/image.php on line 4
Warning: libgd was not built with TrueType font support in
/virt/jrehomes/www/tv
16 matches
Mail list logo