How do I expire 30 days after creating a record

I created a page of information of type blog using David Powers ' php for dreamweaver 8' as a guide, where users in our golf community can send items to sell (among others).
I would like to have all the messages expire automatically (so the folder is not displayed) 30 days after creation.
What is the best way to do it?

Thanks for your help,
Jim Balthrop

.oO (JBWebWorks)

> I've created a page of information of type blog using David Powers ' php for dreamweaver
> 8' as a guide, where users in our golf community can post items for sale (between
(> other things).
> I would like to have all the messages expire automatically (so the folder only)
(> display) 30 days after creation.
> What is the best way to do it?

Select only those records where the date creation not longer than 30 days:

SELECT this option only, Gisèle
Of yourBlog
WHERE creationDate > = CURDATE() - INTERVAL of 30 DAYS

(assuming that MySQL)

If you also want to delete the records obsolete, run a query to cleaning of
successive, for example to each time a new record is added:

DELETE FROM yourBlog
WHERE creationDate< curdate()="" -="" interval="" 30="">

Micha

Tags: Dreamweaver

Similar Questions

  • How to restore from a backup after creating a new Raid 0?

    OK so I have time machines of my old hard drive, installed my new and raid 0' ed them. Now I Steelworkers my bootable thumbdtive (who was be Yosemite) to start my el capitan backup and it crashes at the end. After the restoration, the computer stops and recharge, but then crashes to the screen with the apple logo. Someone knows the right way that I should be restore? I tried just do a plain redownliad of my bootable disk but it says it did not work and may have been corrupted. I tried deleti g and recreate my raid 0, the same message... Looks like that because raid 0 for Mac will not create a recovery partition, I do a recovery Internet now just to recharge the mac from scratch... Any ideas on how I should address?

    Hi Isakale,

    I understand that you're having trouble for OS X installed and restored from your Time Machine backup. In a situation where you work with a configuration of non standard volume for your OS X installation, you can consider installing OS X of the recovery of the Internet, the upgrade to the desired version of Mac OS X via the App Store, then your Time Machine data migration using the Migration Wizard, rather than recovery.

    Migration Wizard copies all your files to your new Mac so that you do not have to the do it manually. If your files are currently on a Windows PC, follow the steps in the migration of the PC instead. If your new Mac uses OS X Mountain Lion or earlier, follow the steps of Mountain Lion instead.

    Move your content to a new Mac
    https://support.Apple.com/en-us/HT204350

    Recent Macs include the ability to run directly from a Web OS X Recovery version. Your Mac will automatically use this feature when the recovery on the startup disk system is not available. For example, if your boot drive is a problem, or if your boot drive has been replaced or deleted. Recovery of the Internet allows you to start your Mac directly from Apple servers. This system starts running a quick test of your memory and the hard disk to check for hardware problems.

    Recovery of the Internet initially asking you to select a Wi - Fi network and enter a password for the network if necessary. Then Internet recovery downloads and starts from a system recovery image. From there on, offers the same options and utilities like system recovery on a startup disk.

    Some Mac shipped with OS X Snow Leopard can use Internet after installation of OS X Lion or later and a software update.

    OS X: on OS X Recovery
    https://support.Apple.com/en-us/HT201314

    If you want to reinstall the version of Mac OS X included with your Mac, store the command-Option-R at the start instead. This starts your Mac recovery of the Internet.

    How to reinstall OS X on your Mac

    https://support.Apple.com/en-us/HT204904

    Sincerely

  • Hello, I just bought the month plan Adobe but I didn t get any serial number (I already expired 30 days after effects test)

    Can someone help me please!

    I'm sorry that this Adobe ID of yours has not registered any CC, please provide any identification so that we can check the status of the CC.

    Concerning

    Stéphane

  • I couldn't access my site to administer once a domain is expired 2 days ago. Now, I renew and still cannot access the site. How can I fix this quickly?

    I'm running a campaign and need this site www.purpleperfect.com to get a direct return. I couldn't wait until Monday to contact support because of the campaign of marriage. This is the case, my domain namecheap expired 2 days ago without realizing it. I renew my domain name today. still, I can't access my Web site to administer www.purpleperfect.com. He said disabled administration immediately after that the domain is expired. How can I resolve this quickly? I had to stop all campaign and this will certainly affect results. Please help me it is a matter of urgency.

    partner portal says site is disable.jpgwebsite to adminstrator issue for expired domain.jpg

    IF your domain name expired has nothing to do with BC. You can't do anything in British Colombia if this is the case. You need to go to your registration office and pay the Bill there.

    If you referring to the OCA itself you can go to the url of development:

    I had to guess; http://purpleperfect.BusinessCatalyst.com/ but this is not the right one, but if you know the url of your development, you can go to this.

    IF you need to pay a bill of BC when that expires when you go to the site and the connection, it will give you the chance to pay for it.

    I remembered that you have purchased an SSL tries to use the before BC:
    I just purchased GeoTrust RapidSSL Certification at Namecheap... help!

    If you need to help the development and construction of your site, it may be worth paying a developer to sort some things for you.

  • I block junk emails every day, always bring, I mark the email phishing scam day after day, always find them in the same places day after day after day, is it possible to stop really and how?

    I block junk emails every day, always bring, I mark the email phishing scam day after day, always find them in the same places day after day after day, is it possible to stop really and how?

    original title: tired of it

    You have posted in a forum for MSE, antivirus, antimalware application.  You must investigate e-mail options... providers (hotmail, gmail, yahoo, etc) screen several e-mail for spam.  You don't have not yet described here your email client... so there is little that anyone can tell you that generic advice.

  • Is legal to use "slmgr-rearm" extend using period in Windows 7 Ultimate & may I re-install Win 7 and use it for 30 days after the expiration date (29 days)?

    Hello
    I live in Iran.
    Here access to the original windows is not easy.
    I have ultimate edition (eternity) win 7.
    He let me to use during 30 days three times use "slmgr-rearm" to extend the trial period.
    Hereby, I can use and update.
    I have two questions.
    1. is legal to use "slmgr-rearm" extend with period?
    2-may I have reinstall win 7 and use it for 30 days after the expiration date (29 days)?

    with speciall thank you

    original title: Reinstall windows 7 ultimate

    According to the software Microsoft Windows 7 license, you must activate Windows 7 within 30 days of installation.  You are not allowed to circumvent or bypass the product activation.  After 30 days, you must enter a genuine Windows 7 product key for the edition you have installed, or remove Windows 7 by reformatting the hard drive, on which it is installed.

    In addition, you must respect Export Basics.

  • I do not understand how to import a project that I created in Final Cut Pro in After Effects

    I do not understand how to import a project that I created in Final Cut Pro that has many sound effects in After Effects. When sharing, choose Apple Pro Res 422, resolution 1920 x 1080, select other - After Effects, it comes as a layer in AE. I don't see how I can change this and do not know, I'm doing this right. Can someone help me please. Thank you very much.

    You can use the file--> menu to import and use the Pro import, but of course there are limits. They are just completely different programs of two separate companies.

    Mylenium

  • How to disable 'AutoPlay' after creating the symbol?

    I want to create a symbol. When I tried this - I see the message with the check box for the AutoPlay option.

    How can I change this option after I created it?

    How to change in the JS file and reopening I know. How this can be done using edge User Interface?

    Look for the symbol in the 'Elements' of you control panel, and then double-click the symbol icon. This will open this symbol and on the left side of the screen, in the "Properties" Panel, you'll find the checkbox for "Autoplay".

  • How to restore the data on my iCloud (if I upgraded to it 50 GB a day after it was downgraded due to a credit card problem which is now fixed)?

    I got an email saying the account should be downgraded, but he had already been demoted to less than a day after the mail has been sent. I got an e-mail to alert a week before, but I forgot to correct the problem and the day of the charge, I had another but he was already at the end.

    is there a way to restore the data, or at least to understand what type of data was lost?

    Thanks in advance

    If you have lost data because you leave your obsolete data plan, so I'm afraid that you have lost it unless you have a backup somewhere.

  • 2-3 days after the expiry of my warranty of one year, my computer turns off suddenly during use. I rebooted, but it stopped again.

    2-3 days after the expiry of my warranty of one year, my computer turns off suddenly during use.  I rebooted, but it stopped again.

    The model is that the computer runs for 15-30 minutes, then suddenly stops, the system reboots, runs for 2-3 minutes, stops, restarts, spans less than a minute, stops, restarts, stop after a few seconds, etc., and at that time there I give until the next day when I repeat the same cycle all over.    I have Windows Vista Home Premium 32 bit and it is a model of Dell Inspiron 518.  There is no error message but a beep at startup upward.  I ran Windows repair program 'Start' who did a restore without success.  The problem occurs even in Safe Mode.

    Does anyone have a guess as to what is the diagnosis?  Thank you.

    Hello

    Could be hardware or even heat and ventilation the related. Try using a small fan to increase ventilation. When a PC
    Remove ALL power and reinstall the memory, all cards and cables (do just not shake - remove and replace-)
    cables on both ends where possible).

    As it does in Mode safe so you probably need technical support in a real store of the computer - no Peeks/leeks at BestBuy or other large shopping areas. Very difficult to solve if it does not remain under tension.
    It remains under tension if you start from the disc of Vista?

    -----------------------------------------------------------------

    Look in the Event Viewer to see if something is reported on these reboots.

    http://www.computerperformance.co.UK/Vista/vista_event_viewer.htm

    -------------------------------------------------------------------------
    Also this, so you can see the probable bluescreens.

    Windows Vista restarts automatically if your computer encounters an error that requires him to plant.
    http://www.winvistatips.com/disable-automatic-restart-T84.html

    -------------------------------------------------------------------------

    Here are a few ways to possibly fix the blue screen issue. If you could give the info from the blue screen that would be
    Help. Such as ITC and 4 others entered at the bottom left. And any other information such as STOP error
    codes and info like IRQL_NOT_LESS_OR_EQUAL or PAGE_FAULT_IN_NONPAGED_AREA and similar messages.

    As examples:

    BCCode: 116
    BCP1: 87BC9510
    BCP2: 8C013D80
    BCP3: 00000000
    BCP4: 00000002

    or in this format:

    Stop: 0 x 00000000 (oxoooooooo oxoooooooo oxoooooooo oxooooooooo)
    Tcpip.sys - address blocking 0 x 0 00000000 000000000 DateStamp 0 x 000000000

    It is an excellent tool for displaying the blue screen error information

    BlueScreenView scans all your minidump files created during 'blue screen of death' crashes, and displays the
    information on all accidents of a table - free
    http://www.NirSoft.NET/utils/blue_screen_view.html

    BlueScreens many are caused by old or damaged drivers, video drivers in particular, but there are other causes.

    You can follow these steps in the Safe Mode if necessary or the command prompt Vista DVD or Options of recovery if your
    system installed by the manufacturer.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    You can try a system restore to a point before the problem started when one exists.

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    -------------------------------------------------------------------------

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    The log can give you the answer if there is a corrupted driver. (Says not all possible driver problems).

    Also run CheckDisk, so we cannot exclude as much as possible of the corruption.
    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    -------------------------------------------------------------------------

    Often drivers up-to-date will help, usually video, sound, network card (NIC), WiFi, 3rd party keyboard and
    smile, as well as of other major device drivers.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    -------------------------------------------------------------------------

    How to fix BlueScreen (STOP) errors that cause Windows Vista to shut down or restart unexpectedly
    http://support.Microsoft.com/kb/958233

    Troubleshooting, STOP error blue screen Vista
    http://www.chicagotech.NET/Vista/vistabluescreen.htm

    Understanding and decoding BSOD (blue screen of death) Messages
    http://www.Taranfx.com/blog/?p=692

    Windows - troubleshooting blue screen errors
    http://KB.wisc.edu/page.php?id=7033

    -------------------------------------------------------------------------

    In some cases, it may be necessary.

    The Options or Vista recovery disk Startup Repair

    How to do a startup repair
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

  • How to make the window disappears after minimize instead of becoming the output of the image?

    How to make the window disappears after minimize instead of becoming the output of the image?

    Hi Sam,

    This issue may have caused due to infection by the virus or system files missing or damaged or because of the corruption of the user profiles. I would like to know some information about this problem so that we can help you further.

    1. have you made changes on the computer before this problem?

    2. do you get any error code or error message while starting?

    3. have you checked if the problem occurs on a different user account?

    I would suggest trying the following methods and check if it works for you.

    Method 1:

    Run the Microsoft Safety Scanner and check if there is any threat of viruses found.

    Microsoft safety scanner: http://www.microsoft.com/security/scanner/en-us/default.aspx

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. During these 10 days, it will remove all the files infected by the virus and records. I suggest you create a backup of your data, and then install Microsoft Safety Scanner.

    Method 2:

    Run the System File Checker scan and check if it helps. This will help you to find and replace missing or damaged system files.

    See the following article from Microsoft Support to run the System File Checker.

    http://support.Microsoft.com/kb/929833/en-us

    Method 3:

    If you have not checked if the problem occurs on a different user account are not, then try again to create a new user account and check if the problem persists. This is to check if the problem is caused due to the corruption of user profiles or not.

    See the following article from Microsoft Help to create a new user account.

    http://Windows.Microsoft.com/en-us/Windows/create-user-account#create-user-account=Windows-7

    If the problem does not persist in the new user account, then try the steps in the following article from Microsoft Help to fix the damaged user profile.

    http://Windows.Microsoft.com/en-us/Windows/fix-corrupted-user-profile#1TC=Windows-7

    Please reply with the status of the issue so that we can better help you.

  • Is it possible package an application later after creating his project?

    Is it possible package an application later after creating his project (maybe the next day) and how? Thanks for any help.

    Yes, it is possible. One of the files in the project directory is 'build.bat. You can run this file to rebuild the project anytime you want.

  • How to select a 14 days ago restore point?

    How to select a 14 days ago restore point? It will only return 5 days when providing a list of restore points to choose.

    If you checked the box to display the points of restoration more than 5 days, then I'm afraid you're out of luck.

    http://bertk.MVPs.org/html/restoresysv.html

    Excerpt from Microsoft help

    "Restore points are saved until the disk space, System Restore reserves is filled." As new restore points are created, old ones are deleted. »

  • How to enable Windows Defender back after getting the error 0x800106ba

    could you please tell me how to turn on windows defender after getting the error 0x800106ba windows vista, thanks

    If you have the following AV, antivirus, programs installed, close your Windows Defender. Purpose of these AVs have their own advocates. 2 defenders on the same machine will create conflicts.
    Bottom line: it's ok. It's normal.
    List of AVs which will stop Windows Defender:
    Norton
    McAfee
    AVG
    Microsoft Security Essentials

    If you don't have AV programs above, here's how to restart Windows Defender:

    Start button > in the search box, type Services > press the Enter key > scroll to find Windows Defender, click on it >...
    topic status , it must be said... Has begun
    under Startup Type, it must be said... Automatic
    If it does not say that, right click on Windows Defender > click Properties >
    in Startup Type, click on the pointer to the right and select automatic
    to the service status, click Start
    Click OK when finished.

  • Linksys WRT320N problems. Keep losing ground day after day

    Hello

    I have a nasty problem and I absolutely had no idea on how to solve this problem.

    A couple of days, I installed my new router WRT320N in combination with 50mbit Ziggo speed (internet provider from netherland)

    On the first day speedtest.net always give mbit 47/48 down and 5 Mbps up.

    But after a few days, the router maintains a fall and a fall and abandonment until the subject of 2 Mbps.

    Now, I have reset the router and also restarted the modem for the new software etc but still nothing works.

    Ive also tried to reset the router to the parameters of Carillon and that worked... until he went down every day.

    I also took some tips from this forum that was MTU setting to 1350 manually instead of 1500 automatic and it worked... until a few days have passed and new ive got 10mbit today.

    I am naïve and in desperate need of your help!

    Setting keep passing my router 50mbit speed to almost zero in a few days at a time?

    Thank you in advance!

    Rens Voeten

    Change every time I pass the MTU to 1500, and then back to 1350 is the jump from speedtest.net meters up still crazy 50mbit.

    But if I let it, it will decrease again day after day.

    Thank you for your advice.

    Ive done what you say and also disabled UpnP and I think it did the trick.

    Ive got constant speeds to 48mbit/s (50 in total) and they have not fallen so far.

    Verify speedtest.net during lunch again tomorrow and will post here if it is down again.

    Greetz

    Rab

Maybe you are looking for