Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 17th, 2005, 05:30 PM
Registered User
 
Join Date: Jul 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to adamgg0
Default creating pop up window in php file

I'm trying to link to another page using <a href="/news.php" OnClick="window.open('/news.php','News','toolbar=no,width=600 height=400,menubar=no,scrollbars=no,resizable=no') ;">Life in the News..</a> within a table in a php script,
but the code keeps bringing up this error message in the page
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING.
Any help solving this would be greatly appreciated.

Thanks.
 
Old August 7th, 2005, 02:01 PM
Registered User
 
Join Date: Apr 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Wade
Default

Are you using echo or print to output the code?
 
Old August 7th, 2005, 03:20 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default

That's perhaps some error in 'news.php' script.

http://scholarship.mediasworks.com/
 
Old August 8th, 2005, 05:22 AM
Registered User
 
Join Date: Jul 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to adamgg0
Default

Yeh, was an error in news.php Thanks for the help!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating crystal report file dynamically with php. malcomstewart Beginning PHP 0 May 1st, 2008 06:06 AM
Window refresh and window pop up in Java Script Aleksandra Javascript How-To 2 March 2nd, 2007 06:47 PM
Creating Pop-up Window from ASP.Net Table Cell sueolo Classic ASP Basics 0 September 1st, 2005 01:54 PM
Creating Pop up Window tact_259 .NET Web Services 0 April 5th, 2004 06:26 AM
pop up window sankar VB How-To 0 July 29th, 2003 01:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.