marknt Posted October 25, 2006 Share Posted October 25, 2006 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:[code]<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 . . . .'">[/code]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. ThanksCheers :) Link to comment https://forums.phpfreaks.com/topic/25031-passing-smarty-variables-help-tnx/ Share on other sites More sharing options...
extrovertive Posted October 25, 2006 Share Posted October 25, 2006 Hot cam... Link to comment https://forums.phpfreaks.com/topic/25031-passing-smarty-variables-help-tnx/#findComment-114090 Share on other sites More sharing options...
marknt Posted October 25, 2006 Author Share Posted October 25, 2006 hehe! im just doin my job. anyway pls help. anyone? :'( Link to comment https://forums.phpfreaks.com/topic/25031-passing-smarty-variables-help-tnx/#findComment-114091 Share on other sites More sharing options...
xsist10 Posted October 25, 2006 Share Posted October 25, 2006 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. Link to comment https://forums.phpfreaks.com/topic/25031-passing-smarty-variables-help-tnx/#findComment-114135 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.