Thanks I'll try those various places I too do the same thing with my echo's all over I haven't in the middle yet because again at the end it displays correctly. This is on a "Live working" server but not a live site I use my testsite for just that development and testing before I move it to an actual working domain. Thanks for your quick responses I'll keep plugging here!
Best regards, Chuck -----Original Message----- From: Gordon Stewart [mailto:[EMAIL PROTECTED] Sent: Monday, March 28, 2005 9:15 AM To: [email protected] Subject: Re: [php-list] Variable Question 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 Sponsor ADVERTISEMENT <http://us.ard.yahoo.com/SIG=129c0gs73/M=298184.6191685.7192823.3001176/ D=groups/S=1705005703:HM/EXP=1112105733/A=2593423/R=0/SIG=11el9gslf/*htt p:/www.netflix.com/Default?mqso=60190075> click here <http://us.adserver.yahoo.com/l?M=298184.6191685.7192823.3001176/D=group s/S=:HM/A=2593423/rand=693352048> _____ 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] <mailto:[EMAIL PROTECTED]> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of <http://docs.yahoo.com/info/terms/> Service. [Non-text portions of this message have been removed] 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/
