1
hi. i want my template to have links to personal data. these should come form the database. what my code does is extract the names from the database and display them in my template (template1.html) using smarty variables (ex. <{$lastname}>.
these names have links to another page that displays the person's complete data. this attempt is successful. i can get names form the database and display them with links.
i have no idea how to pass smarty variables to another template (template2.php - displays complete data of a person depending on the name clicked). however, template2.php does not display the value of
<{$lastname}> . it merely displays
<{$lastname}> in short, it does not recognize the smarty variable. my idea is to use include, but which file do i include to which?
i have no idea how to pass them to template2.