Search the Community
Showing results for tags 'heredoc'.
Necuima posted a topic in PHP 5 Advanced: Visual QuickPro Guide (2nd Edition)Hi Larry, The reference is from page 32 of the book - I think I've got the first edition - sorry if I've posted this in the wrong spot. I am seeking advice on heredoc best practices. Here's an example that I've been experimenting with: The scenario is a program to edit the information about an item whose details have been retrieved from a database via a standard MySQL select. The data get loaded into an HTML form with the variables from the database interpolated into the form. There appear to be two approaches: 1) to have most of the form HTML with the database data added vi