SELECT * FROM bonanza_weeks
WHERE bonanza_weeks.week_id
NOT IN (SELECT bonanza_actuals.week_id FROM bonanza_actuals
WHERE bonanza_actuals.week_id = bonanza_weeks.week_ID)
This was the previous code:
***** $conn = mysql_connect('host:port',username','password');
$db = mysql_select_db('dbname', $conn);
May be the problem is for the statement
mysql_connect('host:port',username','password');
here the single quotes for username is not corect ..just change it to 'username' and do check it out
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.