On Thu, Jun 14, 2012 at 10:17 PM, David Robley wrote:
> Tim Dunphy wrote:
>
>> Hello list,
>>
>> I was just wondering if I could get some opinions on a snippet of
>> code which breaks a php web page.
>>
>> First the working code which is basically an html form being echoed by
>> php:
>>
>> if (
Tim Dunphy wrote:
> Hello list,
>
> I was just wondering if I could get some opinions on a snippet of
> code which breaks a php web page.
>
> First the working code which is basically an html form being echoed by
> php:
>
> if ($output_form) {
>
> echo '
> Subject of email:
>
> Bod
See - I didn't even notice he used camel-case - I thought he typed the same
thing that got the OP in trouble. See how difficult that custom is? That's
why for any case sensitive syntax, I stick to all lower case to avoid just
that kind of bug-a-boo.
--
PHP General Mailing List (http://www
On Thu, 2012-06-14 at 15:13 -0400, Jim Giner wrote:
> "Al" wrote in message
> news:6b.c0.39100.4ef1a...@pb1.pair.com...
> >
> >
> > On 6/14/2012 12:49 PM, Jim Giner wrote:
> >> Yes - PHP is very picky. Hence I never capitalize anything! I use
> >> underscores to make varnames more understandab
"Al" wrote in message
news:6b.c0.39100.4ef1a...@pb1.pair.com...
>
>
> On 6/14/2012 12:49 PM, Jim Giner wrote:
>> Yes - PHP is very picky. Hence I never capitalize anything! I use
>> underscores to make varnames more understandable, as in $inv_req
>>
>>
>
> There is another nice custom e.g. $in
Hello,
When I create a DateTime object from a UNIX timestamp, and then add a
one day interval, PHP adds 25 hours instead of 24. Is this a bug, or
something to do with the time zones?
Here are the commands I'm running from my shell:
--
$ date
Wed Jun 13 06:08:24 PDT 2012
$ php -r
On 6/14/2012 12:49 PM, Jim Giner wrote:
Yes - PHP is very picky. Hence I never capitalize anything! I use
underscores to make varnames more understandable, as in $inv_req
There is another nice custom e.g. $invReg it's easy to read and it doesn't
conflict with PHP syntax for some function
Yes - PHP is very picky. Hence I never capitalize anything! I use
underscores to make varnames more understandable, as in $inv_req
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
oops; printNextLevel : function (pvCmd) {
if (
typeof pvCmd.val == 'object'
&& typeof pvCmd.val.hmStats == 'object'
&& typeof pvCmd.val.hmData == 'object'
) {
//if (pvCmd.keyValueName && pvCmd.keyValueName!='')
I think I've got it figured out now..
My solution is to async build up a flat list of items (from the
recursive object) to process first, then do another async loop (which
I'll build soon) to do the work per item, and when that's done,
replace the placeholder with the result.
This code works on a
You're a genius!! Thank you. Uppercase 'R', sheesh. PHP is sooo picky. I worked
for two days trying to figure that one out. Anyway, for future reference, you
can pass the entire array as a variable like that?? and do you know if the '+='
statement will create an array entry if one doesn't exist?
Jeff Burcher hat am 14. Juni 2012 um 13:55 geschrieben:
>
> function Part_BOM($PartID, $need, $phase) {
>
>
>
> global $Invreq;
uppercase R !!!
And much better is adding it as another parameter and inject it:
function Part_BOM($PartID, $need, $phase, $InvReq) {
}
// c
Hi,
I am running PHP 5.4 on IIs 6 on a Windows SBS 2003 server. Here is a
streamlined version of the code I am dealing with. I tried to trim as much
as possible to only show code that deals with my issue. The main issue I
think I am having is the global array statement within the function is no
13 matches
Mail list logo