|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Calling the PHP Gurus - Internet Explorer issues
Hello all,
Why does this work with NETSCAPE and not IE? In NETSCAPE the PHP is translated to HTML and the "Start the EXAM" button is displayed. But, in Internet Explorer 6 I get this error: Parse error: parse error, unexpected '}' in /home/public_html/ExamCabinet/SourceCode/QZ_Engine.php on line 68 I really am at a loss! Also, I am very new to WEB development and any thoughts would be very welcome. Any thoughts? Kind regards, Vincent <html> <head> <script language="JavaScript" src="http://www.exam.com/ExamCabinet/SourceCode/QZ_Engine.php" > </script> </head> <body scroll=yes bgcolor="#ffffff" text="#000000" link="#0000ff"> <form NAME="QForm"> <div ID="divn"> <input type="button" value=" Start the EXAM " onClick=" getNext()"> </div> </form> </body> </html> |
|
#2
|
|||
|
|||
|
hey vincentms!
firstly, welcome to the devarticles forum!!! secondly, about your query.... what does that PHP script actually do? I am not sure about this, but it looks like you are calling the PHP script, but telling the browser that it's a javascript.... I dont think that works? I am not sure... someone may need to back me up on that one! The javascript part of IE is reading the PHP file, and finding a '{' which might be PHP code, and it is expecting javascript...... As for web development, I personally write most things in PHP nowadays.... another good site which is run by the same people whom run this site is www.devscripts.com which is full of useful nick nacks!! |
|
#3
|
|||
|
|||
|
Hi Vincent,
You don't pass a PHP page to a script tag. To run your PHP page, simply type it's URL into your web browser. In your case this would be http://www.exam.com/ExamCabinet/Sou...e/QZ_Engine.php Make sure your web server has Apache/IIS and PHP installed and configured correctly so that the PHP will be parsed and the correct result spat out. A good day to do this is to create a test.php page containing this code: <?php phpinfo(); ?> Run the page in your browser, and if PHP is setup successfully then you will see your PHP configuration options. ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Calling the PHP Gurus - Internet Explorer issues |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|