Jump to content

Stored procedure or trigger between two tables


jkkenzie

Recommended Posts

Hi,

I have an adverts table that has records of currently running adverts, i have not used stored procedures or triggers before.

I would like to create a stored procedure or a trigger using phpmyadmin for mysql.

 

Exactly what i want to achieve is, when a record is accessed in adverts table, it causes a table called HITS to create a record that has the adverts_id, IP where the advert was clicked from, current date.

 

Is that possible?

 

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.