Jump to content

Retrieve nameservers from order...


Hans!

Recommended Posts

I need to recover the nameservers set by the user in the order.

So, I have:

$domain  (i.e. "mydomain.com"), $domainid (i.e. 1234), $domainorderid (i.e. 4567)

In the table "orders" there's the "nameservers" fields (i.e. "ns1.namserver.com,ns2.nameserver.com,ns3.nameserver.com")

The question is: 

Do I need to do a query to the mysql "orders" table, recover the field "nameservers", and write the code to parse it (I don't know the number of nameservers... 0 to 5), or does exist any smarter way to recover this data, getting a ready array with the nameservers?!

 

 

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