2
   

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
 
  3  
Reply Thu 11 Dec, 2008 09:50 pm
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
 
View Profile 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

I'm the developer - Discussion by Nick Ashley
how to earn money in internet - Discussion by rizwanaraj
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
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
mod rewrite for a different theme? - Discussion by etali
 
  1. able2know
  2. » What does the PHP code \n"; ?> mean?
Copyright © 2009 Horizontal Verticals :: Page generated in 0.34 seconds on 11/23/2009 at 02:27:18 Top End