Vivid Lust Posted October 26, 2008 Share Posted October 26, 2008 What wrong with this ??? thanks ! <?php if( $t1 & $u1 !== "" ){ echo( "var box1=dhtmlwindow.open("box1", "iframe", $u1, "$t1 Tabbster", "width=400px,height=300px,resize=1,scrolling=1")" ); } ?> Link to comment https://forums.phpfreaks.com/topic/130171-why-t_string-unexpected/ Share on other sites More sharing options...
genericnumber1 Posted October 26, 2008 Share Posted October 26, 2008 you need to escape the quotes <?php if( $t1 & $u1 !== "" ){ echo( "var box1=dhtmlwindow.open(\"box1\", \"iframe\", $u1, \"$t1 Tabbster\", \"width=400px,height=300px,resize=1,scrolling=1\")" ); } ?> Link to comment https://forums.phpfreaks.com/topic/130171-why-t_string-unexpected/#findComment-675020 Share on other sites More sharing options...
Vivid Lust Posted October 26, 2008 Author Share Posted October 26, 2008 How stupid am I! Thanks Link to comment https://forums.phpfreaks.com/topic/130171-why-t_string-unexpected/#findComment-675022 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.