CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • What table does civicrm_website tie to?
Pages: [1]

Author Topic: What table does civicrm_website tie to?  (Read 608 times)

cma01

  • I’m new here
  • *
  • Posts: 26
  • Karma: 2
    • Legacy Marketing Services
What table does civicrm_website tie to?
August 16, 2010, 12:06:10 pm
I use a php query to pull CiviCRM data to display customized information on a web site.

I used to pull the url from civicrm_contacts.  It looks like it is now moved to a separate table civicrm_website, but for the life of me I can't figure out what table and field it is tied to on the contact record.
web design kingwood  | Joomla development

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: What table does civicrm_website tie to?
August 16, 2010, 02:41:28 pm
Hi,

I would suggest you to use the civicrm api, precisely to avoid these issues of the db schema changing between versions.

http://en.flossmanuals.net/CiviCRM/DevelopAPI

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • What table does civicrm_website tie to?

This forum was archived on 2017-11-26.