Pownce Library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Pownce Library (/showthread.php?tid=7055) |
Pownce Library - El Forum - 03-22-2008 [eluser]Cyb3rAssasin[/eluser] Code: <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); Okay I have this pownce library.(I did not write it) I'm not sure how to get it to work, This is what I've tried but I know its not right. Code: $params = array('username'=>'theusernamehere'); Pownce Library - El Forum - 03-22-2008 [eluser]wiredesignz[/eluser] Code: $data = array('username'=>'theusernamehere'); Pownce Library - El Forum - 03-23-2008 [eluser]Cyb3rAssasin[/eluser] hey thanks that got rid of the errors but now im recieving "Array" instead of my pownce note :/ I've tried everything. Maybe im calling it wrong in my view file. Code: <?=$pownce;?> Pownce Library - El Forum - 03-23-2008 [eluser]wiredesignz[/eluser] $pownce is an array, Just look at the return value from the library. Code: $pownce['text']; Pownce Library - El Forum - 03-23-2008 [eluser]Cyb3rAssasin[/eluser] Thanks man you rock! (ps: sorry if i sound noobish :/) |