PHP Classes

File: fwphp/glomodul/post_comment/z_call_upd_comment_stat.php

Recommend this page to a friend!
  Classes of Slavko Srakocic  >  B12 PHP FW  >  fwphp/glomodul/post_comment/z_call_upd_comment_stat.php  >  Download  
File: fwphp/glomodul/post_comment/z_call_upd_comment_stat.php
Role: Example script
Content type: text/plain
Description: Example script
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change: ver 7.0.1 mnu, msg, mkd FUNCTIONAL namespaces, CRUD PDO trait, pretty URL-s
Date: 3 months ago
Size: 813 bytes


Class file image Download
// J:\awww\www\fwphp\glomodul\post_category\call_upd_comment_stat.php

namespace B12phpfw ; //FUNCTIONAL, NOT POSITIONAL eg : B12phpfw\zinc\ver5

$Db_post_comment = new Db_post_comment ;

$Db_post_comment->upd_comment_stat($db, $this->uriq->id, $this->uriq->stat);


//also works (is same as above): $this->Redirect_to( 'index.php?i/../post_comment/comments.php' );
//also works (is same as above):
//err : http://dev1:8083/fwphp/glomodul/post_comment/comments
// http://dev1:8083/fwphp/glomodul/blog/?i/..|post_comment|comments
if (isset($this->ctrakcpar_arr['redir'])) { $this->Redirect_to(
  str_replace('|','/', $this->ctrakcpar_arr['redir'])
} */

//foreach($this->ctrakcpar_arr as $k=>$v) {if ($v=='stat') { $stat = $this->ctrakcpar_arr[$k+1]; } }

For more information send a message to info at phpclasses dot org.