473,403 Members | 2,284 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

filtering messenger friend list for invite

omerbutt
638 512MB
hi there i am making a social community site in which i have to invite the messenger contacts by entering the user pass, i have done it right till grabbing the contacts but what i have to do now is to filter those addresss which already have an account on that site means i have two databases one that has the member emails of the site and other one that grabs the contacts of the user and puts it into
the datbase.now i am trying to compare these two databases that the contacts of the user that are already in the members database should not be invited. ihave used this query but itsnot working can anybody help in this regard
Expand|Select|Wrap|Line Numbers
  1.     $sqlEP="select hotmail_email,member_email from hotmail_contacts,rage_members where (hotmail_contacts.hotmail_email<>rage_members.member_email)";
  2.      $rsEP=mysql_query($sqlEP) or die(mysql_error().'<br />'.$sqlEP);
  3.  
  4.  
Apr 18 '08 #1
1 1471
debasisdas
8,127 Expert 4TB
You need to pass ids from the first and pass the same to the second and use count to find out if that already exists.
Apr 21 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Tee | last post by:
Hi, I need to make a window form that look the options winform in MSN Messenger 7. It is not using tab, but a list of available content on the left (a vertical menu), and a groupbox on the...
8
by: Fernando Lopes | last post by:
Hey there. I want to do a instant messenger (ASP.NET) to connect the users from my company enterprise application. This application was developed using ASP.NET. So, this IM must have: -...
4
by: z | last post by:
Hello, I am currently learing Visual Basic, and I have a specific task in mind I would like to achieve, but am getting a bit lost. I use MSN Messenger to communicate with friends. You type the...
0
by: Stephajn Craig | last post by:
Has anyone had this experience yet? What I'd like to do is have a Windows Service monitoring and automating Windows Messenger on a server. I've already begun a proof of concept by creating a...
7
by: | last post by:
Hello, Does anyone have an idea on how I can filter the data in the gridview control that was returned by an sql query? I have a gridview that works fine when I populate it with data. Now I...
0
by: Page O Rama | last post by:
Hi, R U BLOCKED ON MSN,YAHOO,ICQ OR AOL Messenger By Your Friend, Then What are you waiting for.Visit one of the link below to find out who has blocked you in his/her friend list. MSN Block...
2
by: Alex | last post by:
I am fairly new to C# development. I have read a number of articles about developing messenger applications, but they all assume that it is operating internally and that the IP address of the...
5
by: tuananh87vn | last post by:
hi, I'mm writing script for adding friend to a friend list.i'm using a form including friend_name (text), message (textarea) and below is my code: if(isset($_POST)) { ...
3
by: Zethex | last post by:
Alright I got asked today by a friend this question, which obviously I couldn't help him with. He needs to get rid of words in a string referring to an already given list then needs to map them...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.