load->view blank? |
[eluser]resolv_25[/eluser]
Hello, Couldn't find the solution on wiki or forum. Is it possible to have load->view on target=>blank. I want to use same function in controller for filling the data and afterward display the same view on blank page for printing. So, I have something like: Code: if($print1 == 0) {
[eluser]danmontgomery[/eluser]
You can use anchor_popup (http://ellislab.com/codeigniter/user-gui...elper.html) to open a popup. All you need for a "blank" page is to just not output any other content... This is completely within your control
[eluser]resolv_25[/eluser]
Thanks for your reply. anchor_popup() is another useful function. Still, it doesn't fit to my needs because I need to pass data from the controller to the view, actually, almost the same as in the first option ($print==0) If possible, I don't like to write almost the same method again, or break it on the pieces because of this. Controller is something like this (shortly): Code: function priprema($print1=0) { View is something like this: Code: <html> So, after getting the post value of datum1 I want to return it to the view and print it out. Not sure that I'm on the right path. |
Welcome Guest, Not a member yet? Register Sign In |