[PHP] Re: If Statements Array and Notice Undefined Index

2011-03-31 Thread Al
On 3/31/2011 10:45 AM, Nicholas Cooper wrote: Good day, I have three arrays A, B and C. Anyone of them might not have the 'id' key set which will give the Notice Undefined index: id. I just wanted to know what the correct approach to this problem would be; without making the code overly

Re: [PHP] Re: elseif statements

2009-05-06 Thread Jan G.B.
Hi Gary, 2009/5/5 Gary gwp...@ptd.net: Jan Thanks for your note. So your wrote: $x = (3)*(2) makes no sense. $x = 3 * 2 works, as $x = (3 * 2) does, too. But this is not an error at all. ^^ In the first example($x = (3)*(2) makes no sense.), which

Re: [PHP] Re: elseif statements

2009-05-05 Thread Jan G.B.
2009/5/5 Gary gwp...@ptd.net: This just keeps getting weirder, the results change sometimes even when the same info is entered.. This is the revised code (after some helpful hints from some readers) Anyone help, I am supposed to show this tomorrow to client. Hi there, Gary ?php

Re: [PHP] Re: elseif statements

2009-05-05 Thread Gary
Jan Thanks for your note. So your wrote: $x = (3)*(2) makes no sense. $x = 3 * 2 works, as $x = (3 * 2) does, too. But this is not an error at all. In the first example($x = (3)*(2) makes no sense.), which is the way I have it, works. So if it works, is there a real compelling reason to

[PHP] Re: elseif statements

2009-05-04 Thread Gary
This just keeps getting weirder, the results change sometimes even when the same info is entered.. This is the revised code (after some helpful hints from some readers) Anyone help, I am supposed to show this tomorrow to client. Gary ?php $_SESSION['sale_session']=$_POST['sale'];

[PHP] Re: echo statements

2003-07-18 Thread Kevin Stone
Jay Fitzgerald [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] When echoing html code that will include variables from a while or if loop, which method is best? Method 1: echo td align=\left\ VALIGN=\top\font class=\dbtables\$employer/font/td; OR Method 2: td align=left

[PHP] Re: IF Statements

2002-05-16 Thread Martin Wickman
Jon Yates wrote: People, hope you can help. The below IF statement is getting a PARSE error. Can anyone spot why? if (($this-checkReferralCB($this-benefitRef, $this-benefitNo, $this-childDOB)) (!$this-checkLocation($this-post, W)) (!empty($this-childDOB))) ||

[PHP] Re: Print statements , syntax , usage, etc

2001-10-22 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Ricardo Fitzgerald) wrote: *print 'td width=25% bgcolor=#FcaF00bfont face=Tahoma, Verdana, Arial, Sans SerifRef:/fontb//td';* *print 'td width=25% bgcolor=#00bfont face=Tahoma, Verdana, Arial, Sans Serif$reference/fontb//td';* the