Re: Bad Practices

From: Date: Tue, 13 Feb 2001 18:29:03 +0000
Subject: Re: Bad Practices
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39461@lists.php.net to get a copy of this message
Be sure to check this out : Using Strings : --------------------------------------------------- http://www.zend.com/zend/tut/using-strings.php Don't put large blocks of HTML within echo or print, don't be afraid to escape out of PHP for that. Also, check out this three part series, here's the first : Top 21 PHP progamming mistakes - Part 1 of 3 : --------------------------------------------------- http://zend.com/zend/art/mistake.php They're very useful. Also, regarding SQL, don't do "SELECT * ..." all the time as it's overkill if not all fields are being used. Regards, Philip Olson http://www.cornado.com/ On Tue, 13 Feb 2001, Jeff Oien wrote: > Would people like to list bad practices and also point us > newbies to any articles online dealing with syntax, correct > use of single and double quotes etc.? > > I would like to get a good handle on these issues right > from the beginning. As a Web designer I like to use > standard HTML and do everything correctly even if the > browser is forgiving. I notice that a LOT of programmers > write bad HTML and I would imagine many of the publicly > available PHP scripts aren't exactly kosher either. What are > some of the most objectionable things you see? Thanks. > Jeff Oien > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#39461) next »