0

So i have to echo this

onclick="dhtmlHistory.add('location1',{message: 'backbox'});countdown()"

and if i echo " ...." the whole thing top it wont show because of the apostrophe

2
Contributors
5
Replies
7
Views
5 Years
Discussion Span
Last Post by freakvista
0

It's ok this way?

echo("\onclick=\"dhtmlHistory.add('location1',{message: 'backbox'});countdown()\"");
0

Right, but you don't need the parenthesis.

 echo "onclick=\"dhtmlHistory.add('location1',{message: 'backbox'});countdown()\"";
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.