Reply to Re: print out variable name as well as its content

Your name:

Reply:


Posted by Jerry Stuckle on 10/19/07 16:00

Gary L. Burnore wrote:
> On Fri, 19 Oct 2007 08:51:21 -0400, Jerry Stuckle
> <jstucklex@attglobal.net> wrote:
>
>> Kye wrote:
>>>> That typically means you've added some code for debugging problems.
>>>>
>>>> There are settings in your php.ini file which should be different between
>>>> development and production systems (i.e. display_errors), and some debug
>>>> functions. And there are external debuggers.
>>>>
>>>> But there isn't a "debug mode" in the way you're thinking.
>>> Would this include the classic things like mysql_error like in the below?
>>>
>>> $result = mysql_query($query) or die ('Error in query: $query. '
>>> .mysql_error());
>>>
>> Yes, I would never use die() or display database error messages in
>> production code.
>
> Agreed. And while he likely does these things too, I was referring to
> his comment about printing variables in C. Leaving preprocsessor
> warnings enabled in production.
>

Ah, thanks for the clarification.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация