Jump to content

Insert Data Value


Alidad

Recommended Posts

Hi, I'm rookie in php and i tried to figure out myself how to write that code.

 

A new member signup as new member and send data value to mysql database name 'temp_member' table aand then admin will need for approval.

 

if admin approve this is just press button to transfer data value from 'temp_member' table to other table name 'per_member'.

 

my question is that how can i write that code to transfer profile information from table to other table like from 'temp_member' to 'per_member'.

 

please help thanks.

 

AM

Link to comment
https://forums.phpfreaks.com/topic/269944-insert-data-value/
Share on other sites

Another option you have, is to add a enum "status" field to the members table. Then you can set it to a value (let's say 'pending') to denote whether or not a member is pending approval. Once approval is given, you can set it to something else (for example 'member').

By using an enum you have a limited set of values, all which can be referenced via plain text or their index. You can also extend this set, in case you want to add more user-levels in the future.

Link to comment
https://forums.phpfreaks.com/topic/269944-insert-data-value/#findComment-1388029
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.