Jump to content


Photo

passing smarty variables help tnx


  • Please log in to reply
3 replies to this topic

#1 marknt

marknt
  • Members
  • PipPipPip
  • Advanced Member
  • 34 posts
  • LocationPhilippines

Posted 25 October 2006 - 08:21 AM

Hello people, im sorry but i dunno if this is the right place to post this question.

Anyway i have already assigned a smarty variable and it appeared to my first tpl file. My problem is how can i pass my smarty variables to my second tpl file?

In my first tpl file i have a button there:
<input class="button" type="button" value="EDIT SCHEDULE" name="submit_edit" 
    onclick="location.href='http://dev.hotcamsluts.com/modelcp/edit_schedule.php';this.value='E D I T I N G . . . .'">

So if it is clicked it will go to another php file and generate the second tpl file. I want to pass my variables in my first tpl file to my second tpl file. How can i do that? Help. Thanks

Cheers  :)


#2 extrovertive

extrovertive
  • Members
  • PipPipPip
  • Advanced Member
  • 235 posts

Posted 25 October 2006 - 09:38 AM

Hot cam...

#3 marknt

marknt
  • Members
  • PipPipPip
  • Advanced Member
  • 34 posts
  • LocationPhilippines

Posted 25 October 2006 - 09:42 AM

hehe! im just doin my job. anyway pls help. anyone?  :'(

#4 xsist10

xsist10
  • Members
  • PipPipPip
  • Advanced Member
  • 114 posts

Posted 25 October 2006 - 11:27 AM

You'll probably have to pass the values in the URL or create a database table that stores the information under some session variable and pass the session variable in the URL.
SA PHP Archives - www.phparchives.za.org




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users