Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Oct 2005
    Posts
    273
    Plugin Contributions
    0

    Default need help with addresses

    please help with this:

    I need a database query to give me the following:

    1. mr/mrs
    2. first name
    3. last name
    4. address 1
    5. address 2
    6. City
    7. State
    8. Zip
    9. Country


    Any help with this please
    Thanks,
    KWW

  2. #2
    Join Date
    Oct 2005
    Posts
    273
    Plugin Contributions
    0

    Default Re: need help with addresses

    any help with this???
    Thanks,
    KWW

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: need help with addresses

    How are you wanting to use this?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Mar 2007
    Location
    Seattle, WA
    Posts
    159
    Plugin Contributions
    0

    Default Re: need help with addresses

    I don't know how you want to restrict this query, but all of the information that you are looking for is in the address_book table. I would do a select all from address_book where customers_id is the person you are looking for.

  5. #5
    Join Date
    Oct 2005
    Posts
    273
    Plugin Contributions
    0

    Default Re: need help with addresses

    I am using 1.3.5, it shows the entry id, but not the state.

    Example:

    Entry ID: 51, State:Nothing Listed in the DB
    Thanks,
    KWW

  6. #6
    Join Date
    Oct 2005
    Posts
    273
    Plugin Contributions
    0

    Default Re: need help with addresses

    I want to use this to generate a mail merge list, of the newletter subscribers, so that I can send them my newletter in the mail.
    Thanks,
    KWW

  7. #7
    Join Date
    Oct 2005
    Posts
    273
    Plugin Contributions
    0

    Default Re: need help with addresses

    I need a specific query to get the info I need
    Thanks,
    KWW

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: need help with addresses

    How about something like this:
    http://www.zen-cart.com/forum/showth...949#post249190

    ... with an additional entry in your WHERE clause about
    [FONT="Courier New"]c.customers_newsletter = 1[/FONT]
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Oct 2005
    Posts
    273
    Plugin Contributions
    0

    Default Re: need help with addresses

    kind of hard to follow.....the problem is this:

    Address_book table has states in as #'s not as state names, so i need to reference the zone table as well.....entry_code.

    I was hoping for a complete query to do this.....
    Thanks,
    KWW

  10. #10
    Join Date
    Oct 2005
    Posts
    273
    Plugin Contributions
    0

    Default Re: need help with addresses

    ok, i tried the query, but i got an error saying: bad handshake
    Thanks,
    KWW

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Need help with stylesheet - Need to delete the categories
    By annav in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Jun 2009, 12:41 PM
  2. Need Help with a couple of issues with the shop
    By chrisb in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 3 Oct 2006, 12:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR