On Mon, 28 Mar 2005 08:56:24 -0500, Chuck Ouellette <[EMAIL PROTECTED]> wrote:
> 
> Thanks Gordon,
> 
> This is used strictly in one file which is my header file. I do have the
> same issue in a form for a "select" field that I am using a variable for
> "Choose a State" field. It too is displaying the 1 after "Choose a
> State1" I figure though that if I can find out what is causing it in one

Only thing I  can suggest is to put 

echo "Login = '$login'<BR>\n";

at various places - Between where its  set, & where youre actually
printing it...

Then you can debug where / what part of the script  its adding the '1' to it...

& even put :-

if(!isset($_SESSION['username'])) {
$login = 'Sign In';
echo "LOGIN - '$login'<BR>\n";

To see if the 1 is recorded there - Or inserted after.....


When i get this kind of error - Thats the quickest way of debugging -
Put loads of 'echos' all over the place - Until you find out where the
problem lies.

Of course - its frustrating if its on a "live" website - its always
good to have a backup site first - to test on...

PS - Unless someone else replies with a better answer :) 

-- 

G Stewart
Gmail invites - Hundreds available..
Gmail : [EMAIL PROTECTED]
NZ: [EMAIL PROTECTED]


Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to