Re: [PHP] Argh Date problems (RESOLVED)

2009-07-29 Thread Miller, Terion
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

Re: [PHP] Argh Date problems

2009-07-28 Thread Miller, Terion
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

Re: [PHP] Argh Date problems

2009-07-28 Thread Bastien Koert
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

Re: [PHP] Argh Date problems (RESOLVED)

2009-07-28 Thread Miller, Terion
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

Re: [PHP] Argh Date problems

2009-07-28 Thread Miller, Terion
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

[PHP] Argh Date problems

2009-07-28 Thread Miller, Terion
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

Re: [PHP] Argh! nulls un stuff..

2002-10-15 Thread Francis
ot;temp"]) > > > > HTH > > > > Sam Masiello > > Software Quality Assurance Engineer > > Synacor > > (716) 853-1362 x289 > > [EMAIL PROTECTED] > > > > > > > > -Original Message- > > From: Francis [mailto:[E

Re: [PHP] Argh! nulls un stuff..

2002-10-14 Thread Jason Young
> > 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

RE: [PHP] Argh! nulls un stuff..

2002-10-14 Thread Sam Masiello
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

RE: [PHP] Argh! nulls un stuff..

2002-10-14 Thread Matt Giddings
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

Re: [PHP] Argh! nulls un stuff..

2002-10-14 Thread Maxim Maletsky
$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

[PHP] Argh! nulls un stuff..

2002-10-14 Thread Francis
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 "!=

[PHP] argh please help! starting PHP error: Cannot load into server, uncompressis undefineed symbol

2002-04-30 Thread Peter Revill
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

Re: [PHP] argh!

2002-02-19 Thread Weston Houghton
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

[PHP] argh!

2002-02-19 Thread Richard Baskett
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

[PHP] argh!!!!!! php406+gd

2001-07-19 Thread Kurth Bemis
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