Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 08-27-2009, 12:22 PM   #1
DomainProfitsClub.com
War Room Member
 
Gene Pimentel's Avatar
 
Join Date: Feb 2007
Location: Oswego, NY USA
Posts: 2,990
Blog Entries: 1
Thanks: 946
Thanked 1,639 Times in 652 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Default Display contents of field from MySQL

I have a site built with the Butterfly Script. It uses MySQL to store the Member data.

I'd like to display the content of ONE field from the Member's profile from the MySQL database, on the public sales page.

The sales page would display that data based on the cookie that was set by the visitor, which contains the referrer's ID#.

Any help would be appreciated :-)

Gene

Gene Pimentel is offline   Reply With Quote
Old 08-27-2009, 12:44 PM   #2
Business Pro
War Room Member
 
markfail's Avatar
 
Join Date: Jul 2009
Location: Scarborough
Posts: 169
Thanks: 2
Thanked 11 Times in 10 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via MSN to markfail Send a message via Skype™ to markfail
Default Re: Display contents of field from MySQL

whats this "Butterfly Script", what sort for mysql class does it use?


what about database structure, can u be more clear as to the field names or even table name.

*NEW* Wordpress Auction Theme - your own Flippa or eBay website in minutes!
Wordpress Directory Script - creating a directory website is easy!
Wordpress Shopping Cart - setup your own online store or Amazon affiliate store!
Wordpress Classifieds Theme
*NEW* Wordpress Coupon Websites - Earn BIG affiliate commissions with a coupon code website.
markfail is offline   Reply With Quote
Old 08-27-2009, 01:21 PM   #3
DomainProfitsClub.com
War Room Member
 
Gene Pimentel's Avatar
 
Join Date: Feb 2007
Location: Oswego, NY USA
Posts: 2,990
Blog Entries: 1
Thanks: 946
Thanked 1,639 Times in 652 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Default Re: Display contents of field from MySQL

The Butterfly Marketing script is a popular membership & site content script (Butterfly Marketing - By Mike Filsaime).

MySQL class? Not sure what you mean by 'class', but this is what I see:

MySQL version 5.0.81-community
# Server version: 5.0.81-community
# Protocol version: 10
MySQL charset: UTF-8 Unicode (utf8)


table name: members
field name: cbnickname


Thanks,

Gene

Gene Pimentel is offline   Reply With Quote
Old 08-27-2009, 02:07 PM   #4
HyperActive Warrior
War Room Member
 
Join Date: May 2007
Location: Orlando,FL , USA.
Posts: 99
Thanks: 3
Thanked 8 Times in 8 Posts
Default Re: Display contents of field from MySQL

I seem to be having problems posting the php code. PM me your email and I will send it to you.

Dan Liptak is offline   Reply With Quote
Old 08-27-2009, 02:12 PM   #5
DomainProfitsClub.com
War Room Member
 
Gene Pimentel's Avatar
 
Join Date: Feb 2007
Location: Oswego, NY USA
Posts: 2,990
Blog Entries: 1
Thanks: 946
Thanked 1,639 Times in 652 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Default Re: Display contents of field from MySQL

Thanks Dan, I PM'ed you

Gene Pimentel is offline   Reply With Quote
Old 08-27-2009, 02:48 PM   #6
DomainProfitsClub.com
War Room Member
 
Gene Pimentel's Avatar
 
Join Date: Feb 2007
Location: Oswego, NY USA
Posts: 2,990
Blog Entries: 1
Thanks: 946
Thanked 1,639 Times in 652 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Default Re: Display contents of field from MySQL

Dan, your code works perfectly! Than you so much. I really appreciate that.

Gene

Gene Pimentel is offline   Reply With Quote
Old 08-27-2009, 07:40 PM   #7
HyperActive Warrior
War Room Member
 
Join Date: Mar 2009
Posts: 216
Thanks: 25
Thanked 13 Times in 13 Posts
Default Re: Display contents of field from MySQL

If you can give me your php code then I will edit it as per your need.
viane is offline   Reply With Quote
Old 08-28-2009, 05:45 AM   #8
DomainProfitsClub.com
War Room Member
 
Gene Pimentel's Avatar
 
Join Date: Feb 2007
Location: Oswego, NY USA
Posts: 2,990
Blog Entries: 1
Thanks: 946
Thanked 1,639 Times in 652 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Default Re: Display contents of field from MySQL

Thanks for the offer viane, but see my post above. Dan has already done this for me.

Gene Pimentel is offline   Reply With Quote
Old 08-31-2009, 01:18 PM   #9
Active Warrior
War Room Member
 
willmartinapj's Avatar
 
Join Date: Jul 2009
Location: Atlanta,GA
Posts: 30
Thanks: 0
Thanked 1 Time in 1 Post
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to willmartinapj
Default Re: Display contents of field from MySQL

just a little side note this was already done in the membership forum. if you would have asked over there someone would have pointed you to the link.

ButterflyMarketingPlus.com - Butterfly Marketing scripts and tips...

*WSO - ContentClocker - *WSO - Have a website? Marketing or not, this script is a must. Only $7
willmartinapj is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
contents, display, field, mysql

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 03:54 AM.