RSS Forums RSS
Please support our PHP advertiser: Lunarpages PHP Web Hosting

mysql_fetch_array for multiple tables

Join Date: Apr 2008
Posts: 12
Reputation: prethum is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
prethum prethum is offline Offline
Newbie Poster

Re: mysql_fetch_array for multiple tables

  #3  
Apr 24th, 2008
is the talbes realted to each othere and the primary key of one table should be the foreign of the other tbale that u are trying to get datafrom
if soo
then you can use join
select from note, coustomers where note.id =costomer.id and to = 'next';
u can get more information on this from
http://www.tizag.com/mysqlTutorial/mysqljoins.php
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:18 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC