Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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