Jump to content
Larry Ullman's Book Forums

Recommended Posts

You could use echo as an Easy solutions to make sure how the Logic works.

 

A better an more professional way is debugging in an IDE like Eclipse/NetBeans. It will allow you to set break points in the code, and you can then check the state on types.

 

Another solution is Unit Testing.

  • Upvote 1
Link to comment
Share on other sites

tony, to give you a simple answer, no, you cannot view PHP code from a browser directly because PHP is a server-side technology.

The fact that PHP code is not viewable from the client side (i.e., the browser) is a huge reason why PHP is much more secure than Javascript and the like.

Link to comment
Share on other sites

 Share

×
×
  • Create New...