Jump to content

[SOLVED] Probably a noob php/mysql query question.


iPixel

Recommended Posts

Ok, to keep a long story short. I have a database with two fields. Date & Info.

I've got mostly everything done now i just need to enter the data into the database via php.

 

Question... what is the syntax to check if a record with a DATE that's passed already exists.

 

I want to INSERT if it doesn't exist and UPDATE if it does.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.