Hello, ths is one thing that is really shaking my heade O_o, I have got a Html and Javascript code, that contains about 1000 lines and I need to put it to php variable.
Sure I was thinking about the EOT method, But thare is one problem with it, if there is word function like in javascript is, it will take it like php function, and this will cause errors.
Any other Idea how to do it?
desup
0
Newbie Poster
Recommended Answers
Jump to PostYou can use nowdoc syntax (requires PHP 5.3):
http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.nowdoc
Please note that variables will not get parsed.
You could also use a heredoc syntax but I am really not sure …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.