Jump to content

remyaarun

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

remyaarun's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. $expdate = date("M-d-Y",mktime(0,0,0, date("m")+28, date("d"), date("Y")));
  2. I tried out this same code with my tables. And its correctly working.
  3. 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)
  4. select * from weeks where weeks.week_id not in (select * from actuals where actuals.id=weeks.week_id) try with this
  5. select * from weeks left join actuals on weeks.id = actuals.id; Try out with this code.
  6. 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
×
×
  • Create New...

Important Information

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.