Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #19258
| From | Mikael Andersson <qubex2@gmail.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: trying to call onclick with document.getElement() - document.getElement() returns null |
| References | <17650677-77bd-4bca-8e10-ed45772f2e9f@googlegroups.com> <87fvyv1r7q.fsf@gmail.com> <7902669.URqpOMyR7R@PointedEars.de> |
| Date | 2013-04-13 18:35 +0200 |
| Message-ID | <87ehee5qyr.fsf@gmail.com> (permalink) |
| Organization | SunSITE.dk - Supporting Open source |
Thomas 'PointedEars' Lahn <PointedEars@web.de> writes:
> Mikael Andersson wrote:
>
>> jorythompson@gmail.com writes:
>>
>> [snip]
>>>
>
> Never do it that way; write templates that you include, as a first step to
> separate presentation from business logic. See also: MVC.
>
>>> while($row = mysql_fetch_array($result)) {
>
> Make it clear that you are evaluating the right-hand side of the assignment:
>
> while (($row = mysql_fetch_array($result))) {
>
In php its not necessary to do that. But I agree on that it makes things
clearer.
Yours,
QubeX2
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
trying to call onclick with document.getElement() - document.getElement() returns null jorythompson@gmail.com - 2013-04-12 10:45 -0700
Re: trying to call onclick with document.getElement() - document.getElement() returns null Jordan Thompson <jorythompson@gmail.com> - 2013-04-12 11:01 -0700
Re: trying to call onclick with document.getElement() - document.getElement() returns null Mikael Andersson <qubex2@gmail.com> - 2013-04-12 21:31 +0200
Re: trying to call onclick with document.getElement() - document.getElement() returns null Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-13 10:29 +0200
Re: trying to call onclick with document.getElement() - document.getElement() returns null Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2013-04-13 11:10 +0200
Re: trying to call onclick with document.getElement() - document.getElement() returns null Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-13 11:45 +0200
Re: trying to call onclick with document.getElement() - document.getElement() returns null Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2013-04-13 13:04 +0200
Re: trying to call onclick with document.getElement() - document.getElement() returns null Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-13 13:26 +0200
Re: trying to call onclick with document.getElement() - document.getElement() returns null Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2013-04-13 21:12 +0200
Re: trying to call onclick with document.getElement() - document.getElement() returns null Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-13 21:31 +0200
Re: trying to call onclick with document.getElement() - document.getElement() returns null Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2013-04-16 20:01 +0200
Re: trying to call onclick with document.getElement() - document.getElement() returns null Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-16 23:13 +0200
Re: trying to call onclick with document.getElement() - document.getElement() returns null Mikael Andersson <qubex2@gmail.com> - 2013-04-13 18:35 +0200
csiph-web