Results 1 to 10 of 15
Threaded View
-
23rd Jul 2010, 12:05 PM #8MemberWebsite's:
litewarez.net litewarez.com triniwarez.comchange
PHP Code:function fetchArray(){
while($row = mysql_fetch_array($this->queryresult)){
//change this to whatever you want.
print $row['id'] . '
';
}
}
PHP Code:function FetchObject()
{
$Holder = array();
while($row = mysql_fetch_object($this->queryresult))
{
$Holder[] = $row;
}
return $Holder;
}
PHP Code:
foreach($phonebook->fetchArray() as $Object)
{
echo $Object->ColumnName;
}
and i did giggle at:
PHP Code:$this->query = mysql_real_escape_string(trim($query));
$this->queryresult = mysql_query($this->query);
return true;
.
PDO is very much the same but sometimes you need to go custom for big projects instead of using other peoples libsJoin Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
NoFollow Class?
By DJSquared in forum Web Development AreaReplies: 6Last Post: 27th Nov 2011, 05:35 AM -
I need many class C IP's
By filat in forum Hosting DiscussionReplies: 12Last Post: 17th Oct 2011, 08:54 PM -
Should I have my class sign up here?
By DXS in forum Polling PlazaReplies: 5Last Post: 14th Oct 2009, 04:23 AM -
[PHP] Threading Class
By SplitIce in forum Tutorials and GuidesReplies: 8Last Post: 1st Oct 2009, 01:24 AM
themaCreator - create posts from...
Version 3.55 released. Open older version (or...