Karl-Heinz Schulz wrote:

Thank you for trying to help me.
The output is wrong

I get either

Event 1
Event 2

Details 1 for event 1
Details 2 for event 1
Details 3 for event 1

that query is wrong : $eventdetail_query = mysql_query("select informations, titles, file_name from eventdetail, event where eventdetail.event =".$event[0]);

try :
select informations, titles, file_name
from eventdetail, event where event.id=".$event[0] " AND event.id=eventdetails.event
--
Philippe Poelvoorde
COS Trading Ltd.


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to