No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
I created a from which includes a textarea, this data will be saved to mysql, when I retrieve it, I want to only display the first two lines of this textarea data(ignore the rest), and only limit to text format(not html), how can I do that? If I continue to … |
|
Hi all, I have a table containing about 10 records and each record has a unique ID. I'm trying to dynamically generate a pie chart according to each record The output I want is this: [code]$pct_data = array( new pie_value($this->Client->count_all_by_pct(1,$thisMonth), $this->Pct->info(1)->name.', '.$this->Pct->info(1)->location.' ('.$this->Client->count_all_by_pct(1,$thisMonth).')'), new pie_value($this->Client->count_all_by_pct(4,$thisMonth), $this->Pct->info(4)->name.', '.$this->Pct->info(4)->location.' ('.$this->Client->count_all_by_pct(4,$thisMonth).')'), new pie_value($this->Client->count_all_by_pct(6,$thisMonth), … |