
gversion
User
Jul 22, 2011, 12:49 PM
Post #5 of 6
(1694 views)
Shortcut
|
|
Re: [gversion] Favorites Plug-in: Count listings
[In reply to]
|
Can't Post
|
|
Hi Robin, I seem to have got this working by changing the code to be as follows:
<?php // load favorites records list($_website_favoritesRecords, $_website_favoritesMetaData) = getRecords(array( 'tableName' => '_website_favorites', 'where' => "createdByUserNum= '".mysql_escape($CURRENT_USER['num'])."'" )); ?> Unsure if that's the way you would have suggested, but it appears to work! :) Thanks, Greg
|