Function __global->add_poll

Definitions

sources/polls2.php

  • Add a new poll to the database, then return the ID of the new entry.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: int

Parameters

There are no entries at this time

Returns

  • The poll ID of our new poll
  • Type: AUTO_LINK
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Add a new poll to the database, then return the ID of the new entry.
 *
 * @return AUTO_LINK The poll ID of our new poll
 */

function add_poll() : int