Facebook
Twitter
Youtube
Skip to Content
Skip to Menu
Log in
Sign up
Home
Community Builder
Add-ons
CB Paid Subscriptions
CB Editor Assistant
CB Auto Actions
CB Activity
CB Gallery
CB GroupJive
CB AntiSpam
CB Quickstart
More ...
Memberships
Demo
Downloads
News
Featured
Releases
Blog
Support
Resources
Localization
Documentation
Videos
Forge
About Us
Help Me
Help Us Help You
FAQ
Forums
Warranty
Contact Us
Search
Search
Login / Logout
Remember Me
Log in
Menu
Home
Community Builder
Add-ons
CB Paid Subscriptions
CB Editor Assistant
CB Auto Actions
CB Activity
CB Gallery
CB GroupJive
CB AntiSpam
CB Quickstart
More ...
Memberships
Demo
Downloads
News
Featured
Releases
Blog
Support
Resources
Localization
Documentation
Videos
Forge
About Us
Help Me
Help Us Help You
FAQ
Forums
Warranty
Contact Us
User Menu
Forgot Login
Sign Up
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code
XMAS-2024
!
Index
Recent Support Topics
New Support Topics
Recent Topics
Etiquette
Search
Forum
Community Discussions
Languages
French
Recuperer une valeur
Recuperer une valeur
Start
Prev
1
Next
End
1
naiku
OFFLINE
Posts: 3
Thanks: 0
Karma: 0
13 years 7 months ago
#164871
by
naiku
Recuperer une valeur
was created by
naiku
Bonjour,
Je dois récupérer une valeur contenu dans la table jos_comprofiler comment faire?
Je sais pour pour recup une valeur ds le core on peut le faire de cette facon
<?php $user = &JFactory::getuser();
echo '<input maxlength="150" name="client_email" required="required" size="15" title="" type="hidden" name="testrecup" value=' .$user->email.'>';?>
mais je n'arrive pas a l'appliquer pour CB, la methode a appeler est sans doute différente?
Merci
The topic has been locked.
bornancin
OFFLINE
Posts: 2
Thanks: 0
Karma: 0
13 years 7 months ago
-
13 years 7 months ago
#164988
by
bornancin
Replied by
bornancin
on topic
Re: Recuperer une valeur
Sinon il y a cette alternative :
Code:
<?php $user = &JFactory::getuser(); $query= 'SELECT * FROM `jos_comprofiler` WHERE `user_id`="'.$user->id.'" '; $requete=mysql_query($query); $mail=mysql_result($requete, 0, email); echo '<input maxlength="150" name="client_email" required="required" size="15" title="" type="hidden" name="testrecup" value="'.$mail.'">'; ?>
Tu peux récupérer tout ce que tu veux de la table comprofiler par cette méthode.
Last edit: 13 years 7 months ago by
bornancin
.
The topic has been locked.
naiku
OFFLINE
Posts: 3
Thanks: 0
Karma: 0
13 years 7 months ago
#164996
by
naiku
Replied by
naiku
on topic
Re: Recuperer une valeur
Ouaip, j'étais parti sur cette alternative sql du coup. Mais un grand merci pour ta réponse.
The topic has been locked.
Start
Prev
1
Next
End
1
Moderators:
beat
,
nant
,
lavsteph
,
krileon
,
erilam
Forum
Community Discussions
Languages
French
Recuperer une valeur
Powered by
Kunena Forum
You are here:
Home
Forum
Community Discussions
Languages
French
Recuperer une valeur