usually i use ' ' , " " that for echo lines but now i have little bit problem How i echo this line $line=<td class="play2Png"><a href="http://forums.digitalpoint.com" onclick="javascript:void window.open('http://forums.digitalpoint.com','1349207004705','width=400,height=300,toolbar=0,menubar=0,location=0,status=1,scrollbars=1,resizable=1,left=0,top=0');return false;">Play Online</a></td> this code is for pop up generate after this i will replace http://forums.digitalpoint.com with my $variable
echo "<td class=\"play2Png\"><a href=\"http://forums.digitalpoint.com\" onclick=\"javascript:void window.open('http://forums.digitalpoint.com','1349207004705','width=400,height=300,toolbar=0,menubar=0,location=0,status=1,scrollbars=1,resizable=1,left=0,top=0');return false;\">Play Online</a></td>"; PHP: It should work, but be aware that I haven't tested it.
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /homepages/26/d94605010/htdocs/lz/writecodeonline.com/php/index.php(201) : eval()'d code on line 1 http://writecodeonline.com/php/ -------------------------------
this is working perfectly: $line = "<td class=\"play2Png\"><a href=\"http://forums.digitalpoint.com\" onclick=\"javascript:void window.open('http://forums.digitalpoint.com','1349207004705','width=400,height=300,toolbar=0,menubar=0,location=0,status=1,scrollbars=1,resizable=1,left=0,top=0');return false;\">Play Online</a></td>"; dont test it on that page (writecodeonline) because it has some problems with parsing. just check it locally or online and you will see that it works