How do I use MySQL data in a PHP form without the values displaying in the source code?

  • Thread starter Thread starter Pure Kenergy
  • Start date Start date
P

Pure Kenergy

Guest
I am setting up a form that will require a behind the scenes login and password, which I have stored in a MySQL database table. I've got the code to connect to the database, but is there a way to write the MySQL portion so that I can use a tag in the "value=" portion of each line that will pull the data from the database but not display the actual values in the View Source when you look at the source code of the page? I'm right on the cusp of figuring this out, but cannot get it to work and if anyone knows how I can do this I am 100% open to ideas on how to do this, something better, or anything that will help me get this done. I will gladly give 10 points to the best answer.
Let me expand a little on what I'm doing. I have a form written that needs to include a username and password field when it gets passed to the POST value, which is a third-party site. The username and password will be the same one that gets passed each time, as it corresponds to the company that the data is getting submitted for through this third party. So is there any way to hide the field itself, but have it pull the username and password values without having the actual value in the tag for that field? Hope this clarifies some more.
 
Back
Top