I am trying to create a function in php that will take the question that the user enters on the website and store it in an array.
here is my code but I highly doubt its right:
<?php
class Enligne_Model_DbTables_Users extends Zend_Db_Table_Abstract
{
protected $eilgne_Questions = null;
protected $statuses = array(
0 => 'inactive',
1 => 'active',
2 => 'activerestricted',
3 => 'occurred');
public function create ($Questions, $eilgne = 'active',
array $params = array())
{
if(empty($Question))
{
throw new Bts_Exception('Must enter a Qustion!',
Bts_Exception::ATTENDEES_PARAMS_BAD);
}
}
?>
please help me out here I need help on this fast.
2
Contributors
1
Reply
5 Hours
Discussion Span
4 Months Ago
Last Updated
2
Views
Related Article:PHP Question
is a PHP discussion thread by AshtonHogan that has 6 replies, was last updated 2 years ago and has been tagged with the keywords: cookies, database, handled, php, question, session.