advancedfuture Posted March 26, 2007 Share Posted March 26, 2007 $_url_form .= '</form></div><table width="100%"><tr><td><div align="center">' . include("adsense1.php"); . '</div></td></tr></table>'; I keep getting: Parse error: parse error, unexpected '.' in C:\apache\htdocs\proxy\index.php Link to comment https://forums.phpfreaks.com/topic/44308-i-dont-think-im-writing-this-correct/ Share on other sites More sharing options...
jitesh Posted March 26, 2007 Share Posted March 26, 2007 $_url_form .= "</form></div><table width=\"100%\"><tr><td><div align=\"center\">"; include("adsense1.php"); $_url_form .= "</div></td></tr></table>"; Link to comment https://forums.phpfreaks.com/topic/44308-i-dont-think-im-writing-this-correct/#findComment-215182 Share on other sites More sharing options...
Lumio Posted March 26, 2007 Share Posted March 26, 2007 you can't end a command and try to add a string. also you don't get the content of a file by including it. try <?php echo '</form></div><table width="100%"><tr><td><div align="center">'; include("adsense1.php"); echo '</div></td></tr></table>'; ?> jtesh was faster Link to comment https://forums.phpfreaks.com/topic/44308-i-dont-think-im-writing-this-correct/#findComment-215183 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.