Welcome Guest, Not a member yet? Register   Sign In
SEO Plugins

(This post was last modified: 07-29-2016, 01:35 PM by jetztgleich.)

SEO Experten empfehlen die Top-5 Wordpress SEO-Plugins, die Ihnen dabei helfen ihre Website Traffic und Conversions-Rate zu erhöhen . Konfigurieren Sie diese Wordpress -Plugins in CMS-Website und gehen Sie einen weiteren  Schritt um Ihr Unternehmensziele zu erreichen.
Die Features und Funktionen von WordPress sind genial.

For the database to do something like that you would need to write a database stored procedure for your database of choice (beyond the scope of this post and CodeIgniter since they are not written in PHP). In order to have PHP do something like that probably the best place would be in a model.

For Example:

class dates_model extends ci_model {

    public function insert($data) {
        /* here actually look at the incoming data and actually insert 3 rows */

/* -- or -- */

    public function get_next($months,$input) {
        /* here actually grab the $input record (by id or month or something) and then create 3 records which are returned (but aren't actually in the table) */

} /* end class */


Use MySQL DATE_ADD() function 

Refer: https://dev.mysql.com/doc/refman/5.5/en/...n_date-add

Theme © iAndrew 2016 - Forum software by © MyBB