TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 08-12-2011, 05:54 AM   #1 (permalink)
Shonir IT Solutions
 
shonir's Avatar
 
Join Date: Jul 2011
Location: Sialkot, Pakistan
Posts: 10
Thanks: 0
shonir is on a distinguished road
Bug what's wrong in join tables

i just want to show that record not existing table {tbl}mailtemp


PHP Code:

select en
.id as en_iden.title as en_titlemt.id as mt_idmt.subject from {tbl}noticelogs nl, {tbl}expiration_notice en  right JOIN {tbl}mailtemp mt ON (en.type=mt.parentidwhere  nl.noticeid<>en.id and nl.mailid<>mt.id 
__________________
Reputation is for time; character is for eternity.
Send a message via MSN to shonir Send a message via Yahoo to shonir Send a message via Skype™ to shonir
shonir is offline  
Reply With Quote
Old 02-18-2012, 09:10 PM   #2 (permalink)
The Wanderer
 
AxelG's Avatar
 
Join Date: Feb 2012
Posts: 16
Thanks: 0
AxelG is on a distinguished road
Default

Try something like that :

SELECT en.id, en.title, mt.id, mt.subject
FROM {tbl}noticelogs AS nl, {tbl}expiration_notice AS en
JOIN {tbl}mailtemp AS mt
ON en.type=mt.parentid
WHERE nl.noticeid<>en.id AND nl.mailid<>mt.id
AxelG is offline  
Reply With Quote
Old 11-10-2012, 07:35 AM   #3 (permalink)
The Contributor
 
Join Date: Oct 2012
Posts: 46
Thanks: 0
ww628815 is on a distinguished road
Default

Tiffany Jewellery For Sale this is certainly a compromise, people all over the world often wear a Tiffany imitation a great entire evening yet others are none the wiser.

The Tiffany name became so famous Tiffany Pendants Sale movie was made while using company's name from the title. "Breakfast at Tiffany's" featured top-name actors and indicated how well-known the corporation had become 100 years after its inception. Today, when a lot of people think of the name "Tiffany UK Sale's" the picture of exquisite jewelry drifts into their minds. Totally the fine gold and platinum items through the company studio and it's hardly surprising that a person might ask, "Can it be Tiffany?
ww628815 is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
JOIN query captainmerton MySQL & Databases 5 12-06-2012 11:29 AM
Join Tables with Distance Calculation oceanrockn Advanced PHP Programming 1 10-11-2010 04:56 PM
php join tables tego10122 General 6 10-06-2008 10:27 PM
Tables joining other Tables? Orc MySQL & Databases 6 02-09-2008 09:42 PM
Get data from 4 different tables Ultimatum MySQL & Databases 7 01-16-2008 12:34 PM


All times are GMT. The time now is 04:57 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design