Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.