drupal-6


How to show profile field Values to one simple page in drupal 6?


i want to get the custom profile fields which i have made in user profile part,
i want to get that values and show on one simple page i have tried this one....
<?php print $profile['Personal Information']['profile_fname']['#value']; ?>
but its not working....
i want to show all the fields on that page....
thanks in advance,
Nitz
UPDATE:
i got the answer....
// load profile fields
profile_load_profile($account);
//print values -
//note the variable names after $account-> are the names given when you created the custom fields for the user profiles
<?php echo $account->profile_first_name;?>
<?php echo $account->profile_last_name;?>

Related Links

Allowing Users to create custom groups of Countries
Drupal: Horizontal Menu
Drupal6 - Export bulk node
Drupal 6 <front>/node lists all nodes (unwanted)
Drupal 6 Syntax Highlighting
Theming node body in Drupal 6
Changing cck fields on content page edit with taxonomy
Using theme functions in custom module
“create a new blog entry” link using views in drupal
Export data into excel sheet - drupal 6
Drupal upgrade 6.20 to 7.0
How to pass multiple arguments to views_embed_view?
Node access for CCK content type
Drupal Pressflow problem with hook_block
Drupal6 - Node import
how to use the token in drupal?

Categories

HOME
testing
vbscript
keras
kde
react-router
setup-deployment
cmd
amortized-analysis
packages
binary-tree
installshield
directx
multiple-records
contact
facebook-messenger-bot
vault
spring-xd
visual-studio-2005
dtrace
fortumo
jsdoc
lucene.net
one-hot-encoding
tapestry
kudan
buildbot
fish
url-scheme
typo3-6.2.x
wtx
gsoap
socialengine
exuberant-ctags
create-table
typed.js
commit
environment-modules
sequential
html5-fullscreen
nssegmentedcontrol
stacked
web-mining
trim
fedex
ruby-on-rails-3.1
unixodbc
angular-resource
apache-fop
datastax-startup
dotnetzip
diagnostics
font-size
dtexec
eventkit
ableton-live
deadbolt-2
home-directory
adxstudio-portals
dstu2-fhir
lttng
persist
prettytensor
qcustomplot
ready-api
php-parse-error
phpcas
jfugue
teamcity-8.0
iis-arr
arcanist
processmodel
e10s
nsmutabledictionary
website-monitoring
code-access-security
castle
ceil
system.net.webexception
rtmfp
jboss-weld
message-driven-bean
jmapviewer
blending
soundtouch
quartz-graphics
http-unit
multipage
osql
asyncfileupload
subscript
libc++
stage
doh
psi
xmlspy
ecl
pyinotify
h.323
dmx512
mirah
boost-smart-ptr
zune
mdac
multiple-languages
signal-handling
rtml
ntvdm.exe

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App