Custom Phpfox module

In Progress Posted Mar 27, 2013 Paid on delivery
In Progress Paid on delivery

i have petition module demo like this [login to view URL]

i want make it and integration with highchart , so when user click sample link above can show linechart highcharts..

data can get from every item petition..

my customize focus on to get petition id in sample is 88..

i list my code where cant handle to get petition id

public function getPoints()

{

$aUsers = $this->database()->select("ua.order_profitloss,u.*")

->from($this->_sTable2,'ua')

->join(Phpfox::getT('user'), 'u', 'ua.user_id = u.user_id')

->join(Phpfox::getT('petition_text'), 'up', 'up.petition_goal = [login to view URL]')

->where('ua.petition_id=69')

// ->order('order_'.$sType.' DESC')

// ->limit('1')

->execute('getRows');

$iTotal = count($aUsers);

foreach ($aUsers as $iKey => $aUser)

{

$sData .= ''.$aUser['order_profitloss'].',';

}

return array($iTotal,$sData);

}

i use sample manual with put 69 petition id ->where('ua.petition_id=69')

its working..but i want how can get this id every view petition item sample [login to view URL]

Graphic Design HTML PHP Website Design

Project ID: #4373976

About the project

2 proposals Remote project Active Mar 28, 2013

2 freelancers are bidding on average $210 for this job

JimmyHoang

Hi, i can fix it immediately

$110 USD in 0 days
(35 Reviews)
5.9
on2it

on2itonline: Hi, KIWI Team here at on2itonline would love to work for you on this project, we do "full service" websites on a clear and fixed budget. We have lots of offer that others don't, like our lifetime FRE More

$309 USD in 10 days
(7 Reviews)
5.2