Women in Technology

Hear us Roar



Article:
  Common Style Mistakes, Part 2
Subject:   $news_table_html
Date:   2003-07-14 01:10:54
From:   anonymous2
Pardon me nitpicking, the news_table_html variable is useless here. Using this variable gives no extra information (which it could have) than that its content is html (who would have guessed it, the instant it is echoed?) - refactor it out and save a possibly distracting line of code. Otherwise, good point. ;)
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • $news_table_html
    2003-07-14 09:56:52  John Coggeshall | O'Reilly Author [View]

    In simplistic examples sometimes it's hard to illistrate a point which only really applies in much more complex examples. :)

    Regards,

    John