Jump to content

add new column in current table


alyousufi

Recommended Posts

Hello all, 

i am doing something in my VA 

and i need to add new column \ filed in current table example 

table phpvms_pilot

i am already new filed for example total_daily_flights

i need to show the result of this filed in profile_main.tpl 

like <?php echo $userinfo->totalflights?>

when i change totalflight to = total_daily_flights , there is NO Change !

 

please i know i should add new line in some files can you teach me

like         $this->set('total_daily_flights', $totaldailyflights);

but where should be to add ? 

this is an example to be clear  

Edited by alyousufi
Link to comment
Share on other sites

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.

Loading...
×
×
  • Create New...