Jump to content



  • Please log in to reply
No replies to this topic

#1 ktsirig

  • Members
  • PipPipPip
  • Advanced Member
  • 49 posts

Posted 18 September 2005 - 04:18 PM

Hi, I have been messed up with array_intersect function.

I have two queries sent to Mysql :


$query1 ='SELECT ... FROM ...';
$query2 ='SELECT ... FROM';


$line1 = mysql_fetch_array($result1, MYSQL_ASSOC);
$line2 = mysql_fetch_array($result2, MYSQL_ASSOC);

How will I use array_intersect in order to retrieve the common values of the two arrays?
I seem to heve a bit of problem in the coding...

Thanx a lot!

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users