Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
 
CPG-Nuke source documentation


Files - Classes
  includes/functions/display.php
[x] functions
cpg_delete_msg

string cpg_delete_msg(string $link, string $msg, string $hidden)

Return a small form with a "Are you shure to delete" where $msg is the actual message.
$link is the url where the "post" has to go to and $hidden contains additional hidden fields then you need.

The POST has defined 'confirm' on Yes and 'cancel' on No.
So if isset($_POST['confirm']) delete something else do something else

Arguments

  • $link

    URL that has to be in the form "action=" parameter

  • $msg

    the message to show

  • $hidden

    the additional hidden fields

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy