Nov 11, 2006 #1 Elmserv Programmer Sep 25, 2004 72 GB I am building a html str from data in a table, but I am having trouble debugging it. Is it possible to print or see this code as it has all the html tags in it?
I am building a html str from data in a table, but I am having trouble debugging it. Is it possible to print or see this code as it has all the html tags in it?
Nov 11, 2006 #2 jpadie Technical User Nov 24, 2003 10,094 FR why not just look at the source code of the output. or htmlentities() Upvote 0 Downvote
Nov 11, 2006 Thread starter #3 Elmserv Programmer Sep 25, 2004 72 GB I have looked at the source it just isn't obvious why it doesn't work. I will try htmlentities as you suggest Upvote 0 Downvote
I have looked at the source it just isn't obvious why it doesn't work. I will try htmlentities as you suggest
Nov 11, 2006 Thread starter #4 Elmserv Programmer Sep 25, 2004 72 GB As is usuall the advice from this site is excellent. Problem solved. I need to turn my foot round to kick myself up the bum. I had forgotten the curly brackets after a while statement with multiple lines. DOH Upvote 0 Downvote
As is usuall the advice from this site is excellent. Problem solved. I need to turn my foot round to kick myself up the bum. I had forgotten the curly brackets after a while statement with multiple lines. DOH
Nov 11, 2006 #5 sleipnir214 Programmer May 6, 2002 15,350 US That's the major reason why I always use the curly braces, even if the block consists of one line. Want the best answers? Ask the best questions! TANSTAAFL! Upvote 0 Downvote
That's the major reason why I always use the curly braces, even if the block consists of one line. Want the best answers? Ask the best questions! TANSTAAFL!