I have a problem basically like the title, the query I have tried is:
INSERT INTO
pendingresults,
l1_afixtures (pendingresults.TeamAName, pendingresults.TeamA,
pendingresults.TeamAScore, pendingresults.TeamBScore, pendingresults.TeamB)
VALUES (
'$pls',
'$TeamA',
'$TeamAScore',
'$TeamBScore',
'$TeamB')
WHERE
l1_afixtures.team_name = $TeamA
AND
l1_afixtures.fixture = $TeamB
AND
l1_afixtures.disabled = 'enabled';
Is there anything wrong with this query, I know that the query without the
where l1_afixtures.team_name = $TeamA AND
l1_afixtures.fixture = $TeamB AND l1_afixtures.disabled = 'enabled';
Works but with the where function i cant seem to get it working
Any ideas? thanks
You may try like this:
In this particular case it could be something like this: