Hi,
I have something like this
Any idea how can I get this to work?Code:<?php $var1 = "hello world " hello world"; // var1 get the value from sql. this is just some make up data. print <<<EOF <a href="#" onclick="test('$var1')">click me</a> // the problem i have is here. I want it to be test( "hello world " hello world") but it turned out to be test( "hello world " hello world"). EOF; ?>


Reply With Quote

Bookmarks