Where question

  • pcdewit
  • Topic Author
  • Visitor
  • Visitor
12 years 2 weeks ago #816 by pcdewit
Where question was created by pcdewit
Hello,

I want to show only the markers made by the current logged in user and found in the menu section the WHERE statement can be made. Can somebody tell me the php code to get the current userid within this where statement?

I know how to get it from here
<?php
$user = &JFactory::getUser();
echo "cf_user_id = ".$user->id
?>

Thanks in advance,

Peter de Wit

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #828 by gmapfp
Replied by gmapfp on topic Re: Where question
Hi,

In the field "Where", you can only write that SQL code.

For this function, You must modify the php code in the sources.

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum
FaLang translation system by Faboba