Advertisement

08.28.2008 at 01:19AM PDT, ID: 23684669 | Points: 401
[x]
Attachment Details

How do you build a query with two fields that each link to different results from another table then output with PHP?

Asked by kharndog in PHP and Databases, MySQL Server, SQL Query Syntax

Tags:

Attached image is the best explaination for what I need. Can someone give me the SQL and how to call it in PHP? All promotions must be shown, authors must be shown, the guy who approved it doesnt have to be shown if it doesnt exist. Its probably easy stuff, but I'm taking a crash course in PHP (previously classic ASP developer) and am on a deadline.Start Free Trial
Attachments:
 
Query Structure
Query Structure
 
 
Loading Advertisement...
 
[+][-]08.28.2008 at 02:05AM PDT, ID: 22332748

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.28.2008 at 01:08PM PDT, ID: 22339261

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-44 / EE_QW_2_20070628