MySQL data read back into Form...

User 2212453 Photo


Registered User
10 posts

So you had the php echo resolved? Other html files I have resolve the php so I am stumped....

Have you a simple form that uses php that you could send me? To help me with my sanity as it must either be something incredibly stupid I am doing or something I am missing.

Thanks
Chris
User 187934 Photo


Senior Advisor
20,239 posts

The only other thing I can think of is that you may need to try single quotes ' instead of " double quotes.
<input type="text" name="Old_Addr1" value= "<?php echo 'It works! again';?>" readonly>
If the php code doesn't echo inside the form input value does it echo outside of it or on a html page all by itself as I did in the test.html? If it doesn't echo you should get an error_log in the same directory as the echo is taking place.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.