Where question

  • pcdewit
  • Auteur du sujet
  • Visiteur
  • Visiteur
il y a 11 ans 5 mois #816 par pcdewit
Where question a été créé par 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 11 ans 5 mois #828 par gmapfp
Réponse de gmapfp sur le sujet 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.

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.063 secondes
Propulsé par Kunena
FaLang translation system by Faboba