Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Loading View with Posting Data
Post: RE: Loading View with Posting Data

Wouter60 Wrote: (03-06-2016, 04:49 AM) -- Put the URL in the Action= attribute, like this: PHP Code: -- -- Or, by using the form helper: PHP Code: -- echo form_open("home/edit",array('id...
21,713 Views
12 Replies
03-06-2016, 02:05 PM
acheng16
    Thread: Loading View with Posting Data
Post: RE: Loading View with Posting Data

Wouter60 Wrote: (03-05-2016, 09:04 AM) -- In your edit.php (view) you are generating a form with these attributes: Code: -- -- Because of the action="", the input is posted to the same url t...
21,713 Views
12 Replies
03-05-2016, 01:32 PM
acheng16
    Thread: Loading View with Posting Data
Post: RE: Loading View with Posting Data

Hi Robert, Sorry by select_dates i meant select_product. And thanks for the example I have other parts of my website pages that is modeling itself after what your example has done. My question is my s...
21,713 Views
12 Replies
03-05-2016, 08:21 AM
acheng16
    Thread: Loading View with Posting Data
Post: RE: Loading View with Posting Data

Wouter60 Wrote: (03-03-2016, 08:39 AM) -- In your Select_product.php view, the hidden input field is outside the ... tags. -- Yeah that doesn't matter though I am talking about the two date selec...
21,713 Views
12 Replies
03-03-2016, 01:56 PM
acheng16
    Thread: Loading View with Posting Data
Post: RE: Loading View with Posting Data

RobertSF Wrote: (02-25-2016, 12:22 PM) -- Yes, I'm not really picturing it. If you load a view and pass it an array ($data), and that view itself loads a view, you don't need to pass the array to tha...
21,713 Views
12 Replies
03-02-2016, 08:46 PM
acheng16
    Thread: Loading View with Posting Data
Post: Loading View with Posting Data

So I have a view called select_dates.php and it takes in POST data (start date, end date, and product ID). Once you press submit $this->load->private_view('reports/edit', $data); which will loa...
21,713 Views
12 Replies
02-24-2016, 03:52 PM
acheng16
    Thread: CodeIgniter Email Library Attachments
Post: RE: CodeIgniter Email Library Attachments

skunkbad Wrote: (02-11-2016, 01:30 PM) -- I will be mocked if I tell you to replace all files in your /system directory with fresh copies, so instead I'll just tell you that I have no clue what's goi...
13,846 Views
7 Replies
02-11-2016, 02:36 PM
acheng16
    Thread: CodeIgniter Email Library Attachments
Post: RE: CodeIgniter Email Library Attachments

skunkbad Wrote: (02-11-2016, 09:08 AM) -- What happens if you use is_file() on $file_path? What happens if you try to set the attachment immediately after you load the email library? -- It is a ...
13,846 Views
7 Replies
02-11-2016, 10:01 AM
acheng16
    Thread: CodeIgniter Email Library Attachments
Post: RE: CodeIgniter Email Library Attachments

skunkbad Wrote: (02-11-2016, 12:14 AM) -- acheng16 Wrote: (02-10-2016, 11:27 PM) -- Hi all, currently really stumped.... For some reason no matter what I try I cannot get this attachment loaded on t...
13,846 Views
7 Replies
02-11-2016, 07:49 AM
acheng16
    Thread: CodeIgniter Email Library Attachments
Post: CodeIgniter Email Library Attachments

Hi all, currently really stumped.... For some reason no matter what I try I cannot get this attachment loaded on to an email to send. If I pass in a bad path the email will send without the attachment...
13,846 Views
7 Replies
02-10-2016, 11:27 PM
acheng16
    Thread: Email Library Issues
Post: RE: Email Library Issues

Update so yes the class gets loaded but I just can't call on it at all without it giving me an error message.
17,437 Views
13 Replies
01-06-2016, 11:39 AM
acheng16
    Thread: Email Library Issues
Post: RE: Email Library Issues

webdeveloper Wrote: (01-06-2016, 09:33 AM) -- check if u didnt replace CI email class with your value ... i saw in your code initialization function with $this->email = NULL ... if its so then error ...
17,437 Views
13 Replies
01-06-2016, 09:55 AM
acheng16
    Thread: Email Library Issues
Post: RE: Email Library Issues

skunkbad Wrote: (01-06-2016, 09:03 AM) -- Do a little debugging: PHP Code: -- // Send out confirmation email if( ! $this->load->is_loaded('Email') )     $this->load->library('email'); if( ...
17,437 Views
13 Replies
01-06-2016, 09:12 AM
acheng16
    Thread: Email Library Issues
Post: RE: Email Library Issues

skunkbad Wrote: (01-06-2016, 12:06 AM) -- acheng16 Wrote: (01-05-2016, 11:14 PM) -- skunkbad Wrote: (01-05-2016, 08:11 PM) -- Narf Wrote: (01-05-2016, 05:07 PM) -- skunkbad Wrote: (01-05-2016, 03...
17,437 Views
13 Replies
01-06-2016, 08:36 AM
acheng16
    Thread: Email Library Issues
Post: RE: Email Library Issues

skunkbad Wrote: (01-05-2016, 08:11 PM) -- Narf Wrote: (01-05-2016, 05:07 PM) -- skunkbad Wrote: (01-05-2016, 03:41 PM) -- You might try swapping out your /system/ directory for a fresh copy. Beside...
17,437 Views
13 Replies
01-05-2016, 11:14 PM
acheng16
    Thread: Email Library Issues
Post: Email Library Issues

I have the code  $this->load->library('email'); which loads the library properly, or i thought... however when i try $this->email->from(EMAIL_FROM); i get this Fatal error: Call to a member func...
17,437 Views
13 Replies
01-05-2016, 02:03 PM
acheng16

Theme © iAndrew 2016 - Forum software by © MyBB