i can give you all info: because my first question was simplyfied.
I am making a page for my footballteam. I want to take out info on the following: Number of victory after another,This means that kamp.malmsil (goals for my team) must be larger than kamp.malmot(goal against). I must also have the date when the vicroties started and when it stopped.
<?
$query = "
SELECT
kamp.kid,
kamp.rating,
lag.navn,
lag.lid,
kamp.dato,
kamp.alvor,
kamp.plass,
klubb.klid,
klubb.arenanavn,
kamp.malmsil,
kamp.malmot,
kamp.sted
FROM kamp
INNER JOIN lag ON lag.lid = kamp.lag_lid
INNER JOIN sesong ON kamp.sesid = sesong.sesid
LEFT JOIN klubb ON lag.lid = klubb.klid;";
this is the query that must be changed