Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to make a field password field

Featured Replies

Hi All,

 

I just wanted to know how to not show the text entered in a field I considered is a password field by using phpMyAdmin.

 

I am using php to insert the fields from a page to the MySql database.

 

Thank u for ur response in advance.

 

SL

Hi All,

 

I just wanted to know how to not show the text entered in a field I considered is a password field by using phpMyAdmin.

 

I am using php to insert the fields from a page to the MySql database.

 

Thank u for ur response in advance.

 

SL

 

Do you mean not show it inside the form field (just show dots or stars instead)? if that is it then just set your form field type to type="password"

 

hth ~megan

  • Author

Do you mean not show it inside the form field (just show dots or stars instead)? if that is it then just set your form field type to type="password"

 

hth ~megan

 

 

Thank u Megan. But thats not what I want. Ofcourse if u do that in a text box, what u type on the password field will be invisible. What I want is: to make invisible (I mean replace it with a dot or astrix just like its on the text box whose type is set as password) or hide the text in the field I assumed is a password field in MySql table. (When looking at it by opening the table.)

 

I have seen a "Password" function when I use the PhpMyAdmin insert to table option. But I dont know how to use it in conjunction with Sql statement embeded in PHP statements.

 

Cheers,

SL

  • 1 month later...

Are you saying this.

 

You have a table in MySQL table with a password column.

 

When for example your displaying the results of a table, do you want the password but in complete invisible state? So you cannot see the input field but there is a field holding a value?

 

If so, its - <input type=hidden value=$table['password']>

ATOMIC Web Hosting 2007 - 2011

Shared Hosting - Reseller Hosting - Dedicated Servers - Virtual Private Servers (Request Dedicated/VPS Servers via E-mail)

E-mail: sales@atomicwebhosting.com Website: http://www.atomicwebhosting.com/

  • Author

I thank you all for the effort you have made to understand the problem I have and help me out.

 

I have managed to solve the problem. MySQL has a function called password ( PASSWORD('{$HTTP_POST_VARS['txtPassword']}') ) to decrypt the text given and store it in the MySQL database. So even if somebody has access to the database and tries to see the user passwords saved in the table, he/she cant (simple security ah?).

 

Thank you all again

 

 

Are you saying this.

 

You have a table in MySQL table with a password column.

 

When for example your displaying the results of a table, do you want the password but in complete invisible state? So you cannot see the input field but there is a field holding a value?

 

If so, its - <input type=hidden value=$table['password']>

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.