1
   

What does the PHP code \n"; ?> mean?

 
 
Reply Thu 11 Dec, 2008 09:31 pm
I've inherited a small mess with a website that asks for a form to be filled in for further information and after it' s filled in and submitted all I get is a white screen and \n"; ?> in the top left corner. Any ideas?

Thanks
 
gungasnake
 
  3  
Reply Thu 11 Dec, 2008 09:50 pm
@Steve Boulton,
A couple...

A line like:

?>

should end a php script in a web page. You likely have a line just prior to that script-ending line which contains a string with the newline ( \n ) in it and which should be terminated by a quote mark but isn't, i.e. a fragment of a character string. Ending the string properly might fix the problem if that's what it is.

You can also run php scripts from a command prompt on the server:

>php somescript.php

and see errors and there're also a couple of lines you can insert at the top of a php script which will show errors for php scripts inside a web page in a browser.

Hope that helps some.
0 Replies
 
NickFun
 
  -1  
Reply Fri 12 Dec, 2008 12:57 am
We are not privy to the PHP codes. They are secret information! You could get in serious trouble for even asking!
0 Replies
 
 

Related Topics

Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
 
  1. Forums
  2. » What does the PHP code \n"; ?> mean?
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.6 seconds on 04/18/2024 at 07:45:02