thanks,
foreach ($results as $result) {echo $result->meta_value;}
hepled
I have finally no question (by now)
bbPress ShowcasebbPress Showcase
taking bbPress (and WordPress) beyond your wildest dreams...
bbPress Showcase » bbPress Chat
-
Posted 3 years ago #
-
I have my last question (it's more about classes in php that about bbperss): how can I print
$result->COUNT(*),where $result=$bbdb->get_results()? php interpretator return error about '*'.
var_dump() is
array(1) { [0]=> object(stdClass)#77 (1) { ["COUNT(*)"]=> string(1) "1" } }
Posted 3 years ago # -
You can rename variables inside of a mysql query to return a better index.
ie.
SELECT count(*) as total, meta_value FROM $bbdb->usermetablah blahThe variable that will come back is "total" instead of "count(*)"
This is a demo of the bbPress Signatures plugin!
If you use my plugins, please considering donating to help continue their development.Posted 3 years ago # -
thank you!
Posted 3 years ago #
RSS feed for this topic
Post a reply to “two question about bb_press functions”
You must log in to post.
47 users online from in the past 30 minutes. 2 of them are on this page. 15 bots 32 guests
3,898 views today 8,638 yesterday 16,043 peak. Most at once 47 today 60 yesterday 131 peak. Visited today: qamilon, pandoracam, lvgalliera