Jump to content

auto update db?


mr.echo

Recommended Posts

hi fellas,

i have a project for school,i have to build an airline website and i m just a rookie in php.

i have a problem about flights.see i want to choose my flights in calendar as you know but i don't know how can i connect this flights using db.

for example we have a flight every monday la to vegas at 8 pm.

so i ll put locations and clock to db,but how can i use this commons again and again and again.

 

and i know this project is hard for me but i have to do this,it can't be a pro website but  i should sell a ticket at least

 

thanks for your helps

Link to comment
https://forums.phpfreaks.com/topic/137943-auto-update-db/
Share on other sites

If I understand you, you want to add something to show up every monday in the calendar?

Have you considered putting it in every monday?

If that doesn't solve your problem, just update the MySQL timestamp. UPDATE `table` SET 'timestamp_field' = 'nextMondayTime'.

Link to comment
https://forums.phpfreaks.com/topic/137943-auto-update-db/#findComment-721004
Share on other sites

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.