Jump to content

Custom Fields and Dedicated ip field

Recommended Posts

I really could use some help figuring out how to pull the data out of the dedicated ip field or alternately a custom field, either way im not sure how to pull data out of either for my custom module.

function burstnet_AdminServicesTabFields($params) {

   $result = select_query("mod_customtable","",array("serviceid"=>$params['serviceid']));
   $data = mysql_fetch_array($result);
   $var1 = $data['var1'];

   $fieldsarray = array(
    'VPS Ip' => '<input type="text" name="modulefields[0]" size="30" value="'.$var1.'" />',
   return $fieldsarray;


function burstnet_AdminServicesTabFieldsSave($params) {


if i do it that way, well then it just fails and doesnt store the values anywhere. I'm at a loss here and not sure what to do because I cant really find any detailed documentation on this specific field or how to use custom fields properly.

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated