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 :) Quote Link to comment Share on other sites More sharing options...
extrovertive Posted October 25, 2006 Share Posted October 25, 2006 Hot cam... Quote Link to comment 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? :'( Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.