Displaying table in derma label

Hi, lets say for example i had the table Suggestiosntbl = {“Planned updates”,"-1.stuff",“2.stuff”,3.stuff"} located in a server file, how would i go about writing this to a derma menu like this. https://gyazo.com/80f8e77862687ac5bb2293a13e8844df

for i, text in pairs( Suggestionsntbl ) do
--create derma here, apply :SetText( text ) and :SetPos( 5, 5 + 20 * i )

Alrigh thanks, would this work in a serverside lua file, or should i move the table over to a shared file.

if the tabe is created serverside, you either have to move it to shared, or use netmessages to send it to the client, else the client cant access it.

I put the table into a shared.lua file and got this error
[ERROR] addons/cpanel v0.2/lua/autorun/client/admcp.lua:70: bad argument #1 to ‘pairs’ (table expected, got nil)

  1. pairs - [C]:-1
  2. func - addons/cpanel v0.2/lua/autorun/client/admcp.lua:70
    3. unknown - lua/includes/extensions/net.lua:32

Re-learn basics.
Especially difference between globals, locals and how to include files.

Got it all working now, thanks for the help.