The field in the DB is defined as type date.
I've had several event registrations for an upcoming event come through. THe
event date is '2010-01-27'.
2 of the 5 event registrations contained empty values for the date.
wtf?
On Mon, Jan 18, 2010 at 10:23 AM, John Corry wrote:
nt_date.
There are no other references to the variable $event_date.
It works most of the time.
There's no pattern I can see. I even tried to force it to show a date by
selecting a formatted date and displaying that if the original programmer's
strtotime failed.
Where do you look for hel
cript files.
JS question: is there a js way to do the same thing? Evaluate the js
equivalent of PHP's $_SERVER['HTTP_HOST']? If there is, I think this
solution will work.
This has got to be a fairly typical workflow and problem.
What are some of the strategies you folks use for designing your flow of
code from local IDE to SVN to dev server to production server?
--
John Corry
PHP developer - 3by400, Inc
http://www.3by400.com
I leave ?> out.
I'm pretty careful about my code formatting and whitespace.
It's my opinion that if I can eliminate a potential problem by not including
an optional closing tag...there's really no reason why I shouldn't.
--
John Corry
PHP developer - 3by400, Inc
http://www.3by400.com
with why?
--
John Corry
PHP developer - 3by400, Inc
http://www.3by400.com
Curl_init() will return a resource or false if it fails, like it would
if no Internet connection were present.
J Corry
Sent from my iPhone
On Dec 19, 2009, at 5:36 PM, "Angus Mann" wrote:
Why can't you put the update on the same LAN server that the app
resides?
If that is not possible,
n.
I suck with regex and all of my attempts to modify examples I've found have
failed.
--
John Corry
PHP developer - 3by400, Inc
http://www.3by400.com
s is a new problem as of the server
move.
Any suggestions which direction to look to try to resolve this?
--
John Corry
PHP developer - 3by400, Inc
http://www.3by400.com
Wouldn't it be $o[1]->a?
J Corry
Sent from my iPhone
On Sep 11, 2009, at 7:31 PM, Tom Worster wrote:
if i have an expression that evaluates to an object, the return
value from a
function, say, and i only want the value of one of the objects
properties,
is there a tidy way to get it withou
al ValueMaster Value date.default_latitude31.766731.7667
date.default_longitude35.25.2333 date.sunrise_zenith90.5890.58
date.sunset_zenith90.58333390.58 date.timezone*no value**no value*
--
John Corry
PHP developer - 3by400, Inc
http://www.3by400.com
1. convert the string representation of times to timestamps using
strtotime()
2. sort the timestamps
3. display the timestamps as strings using date('format', timestamp)
Would that work?
John Corry
email: jco...@gmail.com
On Feb 14, 2009, at 4:07 PM, tedd wrote:
Hi gang:
A
en());
echo 'inside try/catch :' . $_GET['token']; #this
echo statement inside the try/catch DOES happen...WTF!?
}
} catch (Picasa_Exception_FailedAuthorizationException $e){
$firephp->log($e, 'error');
}
} else {
$pic->redirectToLoginPage('http://twozerowest.com/snowdog%20gallery/admin.php'
, 1);
}
Anyone have ANY idea what's going on?
John Corry
email: jco...@gmail.com
Anyone using Cameron Hinkle's Picasa API?
I'm having a bitch of a time trying to get the AuthSub methods working
and would love to trade ideas if anyone is familiar.
thanks,
John Corry
email: jco...@gmail.com
sort of
expect it to be included.
Anyone know of such a thing?
John Corry
Same here.
They're just extraneous elements and can hide whitespace.
I leave them open in all applcation files and close them only in templates.
>
>
> I only close tags inside templates. All of my logic code is outside
> of markup though so those files never have a closing ?> for exactly
> the
You might want to (seriously) look at the PEAR Auth class.
It can save you a TON of time...all the stuff you're trying to do with
this code (that you were just told you're going to have to rewrite) is
already done for you.
It's very handy for registering/tracking users of your sit
due to schedule and
commitments, this 'playing around' is going to have to take place in
the production, for-hire context.
Surely we're all familiar with 'on the job training', right? ; )
John Corry
> ZF isn't going to save you any time on a single project. The tim
sses to generate
basic HTML elements, then tables, then forms, then images.
It saved me a bunch of time and taught me to see the website as an
application...not as a web-page with pieces of data in it.
Somehow, coming to that bit of knowledge was very helpful to my life
as a programmer.
Good luck,
p;hl=en
Without looking at any of their code, I do notice that some class
descriptions look promising.
John Corry
On Fri, Jan 9, 2009 at 8:03 PM, Shawn McKenzie wrote:
> c...@l-i-e.com wrote:
>> Short Answer:
>>
>> You can't.
>> :-)
>>
>> http://en.wiki
ny other included classes/files), code
explorer views/trees, SVN/CVS support, debugging...very capable IDEs.
Zend costs $$, Eclipse/PDT is free.
John Corry
On Thu, Jan 8, 2009 at 6:33 PM, Skip Evans wrote:
> Ross McKay wrote:
>>
>> You should also check out editors and IDEs - STFW for pr
I read (well, skimmed anyway) this thread and saw that the original
poster's issue was resolved.
For the archives though, I'd like to mention that the PEAR Auth and
MDB2 packages would make all of the things that are being done by this
code much easier for the programmer.
Auth allows you to authe
Ubuntu linux has been really easy to set up, administrate and
install/run programs.
It has a huge user base, really good support forums and supports a
large variety of hardware configurations. I'm running it on my
Thinkpad T40, which I use for PHP development when travelling. It's
rock solid and e
That was too heavy handed.
I'm sorry. Please forgive my harshness.
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1. It's generally considered poor etiquette to send that much code to a
mailing list. How about snipping the relevant section next time?
2. the error says: mysqli_fetch_assoc() expects parameter 1 to be
mysqli_result. There's your clue. Is the query good? Is the connection good?
I'm getting a lit
Wouldn't it be:
mysql_query("UPDATE database set Field = Field+1 WHERE
Criteria='Criteria'");
Note: no '' around +1, = operator
John Corry
ad...@buskirkgraphics.com wrote:
> Okay maybe i have just forgot.
> I am trying to update the database and do a
Or even a google search widget...
Miles Thompson wrote:
> On Mon, Dec 29, 2008 at 10:47 AM, Tiji varghese wrote:
> ht-dig (or digg)
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
+1
Is it me or has the php mailing list kind of dumbed itself down in the
last 5 years?
>
>What?
>
> --
>
> daniel.br...@parasane.net || danbr...@php.net
> http://www.parasane.net/ || http://www.pilotpig.net/
> Unadvertised dedicated server deals, too low to print - email me to find out!
>
#x27;s a lengthy, complicated process that is going to demand a little
more of you than just reducing your app to 2 steps and asking a
mailing list how to do it.
Good luck, let us know how it goes and how we can help you take (much
smaller) steps.
John Corry
--
PHP General Mailing List (htt
28 matches
Mail list logo