Problem could be in php include file

"filled in (phpsqlajax_dbinfo.php):

<?
$username="username";
$password="password";
$database="username-databaseName";
?>

You can try adding php ie

<?php
$username= .....







Aug 22, 6:08 pm, JKurtock <jkurt...@gmail.com> wrote:
> Yes, you ARE outputting something before the header() instruction.
> That is what the error code means.  In addition to the odd space here
> and there, a common problem is putting your initial <?php element on
> the second line, so that the code outputs a new-line before anything
> else (triggering your error message).  (Which is why none of us can
> find your problem by looking at the part of your code you have
> posted.)  Note that can be in  your included files too.
>
> You might try replacing the header() instruction with something like
> print "G";, and then just looking at the output in a browser USING
> "view page source."  If there is ANYTHING before the G; space,
> newline, etc., that is your problem. Then all you have to do is find
> where it is coming from.
>
> Good luck!
>
> - Jeff
>
> On Aug 22, 10:37 am, Cole <colebrick...@gmail.com> wrote:
>
>
>
> >  I have scoured the script for any blank spaces and have not found any,
> > which leads me to believe I am outputting something before
>
> > header("Content-type: text/xml");
>
> > However, being new to HTML and PHP (though I have coded before) I can't tell
> > what is being output before that line of code...does it matter if I output
> > in the HTML first or just the PHP? I have posted both my PHP and HTML above,
> > if anyone could give it a sweep through maybe they will catch something I am
> > over looking.
>
> > Larry - As far as I can tell I have everything exactly the same as the
> > example except for PHP line 3 (changed the file name to my file name, had to
> > add the 5 to .php according to my host, 1and1) and line 13 had to change "
> > localhost" to $hostname. Other than that no changes.- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to