1
bheavey
Exporting smarty variables for use in php in a template
  • 2004/12/5 16:43

  • bheavey

  • Just popping in

  • Posts: 1

  • Since: 2004/12/5


I have added a php block within one of my XOOPS templates. Within this template there is a smarty variable $user.id. I would like to be able to have access to the value of this variable within my php block, but can't seem to figure out how to do this... any help would be greatly appreciated. Thanks.

Ex:

<{$user.id}>

<{php}>
I want to be able to use $user.id as a parameter to some php functions in here.
<{/php}>

Login

Who's Online

337 user(s) are online (233 user(s) are browsing Support Forums)


Members: 0


Guests: 337


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits