peculiar mysql/php behavior..

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

peculiar mysql/php behavior..

Post by Charles256 »

code..

Code: Select all

<?php echo $row1->email; ?><input name="email" value="<?php echo $row1->email;?>" />
output

Code: Select all

test@gmail.com<input name="email" value="test@gmail.com" />
looks right? don't it? how come when i actually view the page i see test1@gmail.com ? the old email? i've done a hard refresh of the page.
Last edited by Charles256 on Sat Apr 21, 2012 10:10 pm, edited 1 time in total.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

You see the 'odd' email address in both places or just one?
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

the actual display shows me test@gmail.com and in the input field test1@gmail.com i tested in I.E. and this appears to be a mozilla issue only.and for the record i cleared all caches of everything.twice.
Last edited by Charles256 on Sat Apr 21, 2012 10:10 pm, edited 1 time in total.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Do you have any autocomplete form field features set up in your browser? I know some tool bar extensions will automagically load some information into form fields that you may use frequently.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

yup, mine did that yesterday (and I was actually having this same problem - and it was driving me insane) until I cleared the saved password in options
EDIT: after reading that I realize it wasn't the same problem :oops: (password != email)
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

My google toolbar for IE does that to me. It fills in my login names and passwords on some sites. It is rather annoying, until I remind myself that I use IE for local CSS testing only. Then I don't feel so foobarred.
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

maybe it is a login thing..probably is..bah : destroys firefox :
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Charles, to verify this thought, load the page again, then look at the source. If the odd email is in the source, then there is a code issue. If it is not in the source, but it still shows in the browser, then it is a browser thing.
Post Reply