Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Loading View with Posting Data
Post: RE: Loading View with Posting Data

(03-06-2016, 04:49 AM)Wouter60 Wrote: Put the URL in the Action= attribute, like this: PHP Code:<form action="home/edit" method="post" id="date_picker_form">  Or, by using ...
acheng16 CodeIgniter 2.x 12 13,239 03-06-2016, 02:05 PM
    Thread: Loading View with Posting Data
Post: RE: Loading View with Posting Data

(03-05-2016, 09:04 AM)Wouter60 Wrote: In your edit.php (view) you are generating a form with these attributes: Code:<form action="" method="post" id="date_picker_form"> Because of the action="...
acheng16 CodeIgniter 2.x 12 13,239 03-05-2016, 01:32 PM
    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...
acheng16 CodeIgniter 2.x 12 13,239 03-05-2016, 08:21 AM
    Thread: Loading View with Posting Data
Post: RE: Loading View with Posting Data

(03-03-2016, 08:39 AM)Wouter60 Wrote: In your Select_product.php view, the hidden input field is outside the <form> ... </form> tags. Yeah that doesn't matter though I am talking about t...
acheng16 CodeIgniter 2.x 12 13,239 03-03-2016, 01:56 PM
    Thread: Loading View with Posting Data
Post: RE: Loading View with Posting Data

(02-25-2016, 12:22 PM)RobertSF Wrote: 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 th...
acheng16 CodeIgniter 2.x 12 13,239 03-02-2016, 08:46 PM
    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); whic...
acheng16 CodeIgniter 2.x 12 13,239 02-24-2016, 03:52 PM
    Thread: CodeIgniter Email Library Attachments
Post: RE: CodeIgniter Email Library Attachments

(02-11-2016, 01:30 PM)skunkbad Wrote: 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 going ...
acheng16 CodeIgniter 2.x 7 8,996 02-11-2016, 02:36 PM
    Thread: CodeIgniter Email Library Attachments
Post: RE: CodeIgniter Email Library Attachments

(02-11-2016, 09:08 AM)skunkbad Wrote: 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 file w...
acheng16 CodeIgniter 2.x 7 8,996 02-11-2016, 10:01 AM
    Thread: CodeIgniter Email Library Attachments
Post: RE: CodeIgniter Email Library Attachments

(02-11-2016, 12:14 AM)skunkbad Wrote: (02-10-2016, 11:27 PM)acheng16 Wrote: Hi all, currently really stumped.... For some reason no matter what I try I cannot get this attachment loaded on to an e...
acheng16 CodeIgniter 2.x 7 8,996 02-11-2016, 07:49 AM
    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...
acheng16 CodeIgniter 2.x 7 8,996 02-10-2016, 11:27 PM
    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.
acheng16 General Help 13 11,908 01-06-2016, 11:39 AM
    Thread: Email Library Issues
Post: RE: Email Library Issues

(01-06-2016, 09:33 AM)webdeveloper Wrote: 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 er...
acheng16 General Help 13 11,908 01-06-2016, 09:55 AM
    Thread: Email Library Issues
Post: RE: Email Library Issues

(01-06-2016, 09:03 AM)skunkbad Wrote: Do a little debugging: PHP Code:// Send out confirmation emailif( ! $this->load->is_loaded('Email') )    ...
acheng16 General Help 13 11,908 01-06-2016, 09:12 AM
    Thread: Email Library Issues
Post: RE: Email Library Issues

(01-06-2016, 12:06 AM)skunkbad Wrote: (01-05-2016, 11:14 PM)acheng16 Wrote: (01-05-2016, 08:11 PM)skunkbad Wrote: (01-05-2016, 05:07 PM)Narf Wrote: (01-05-2016, 03:41 PM)skunkbad Wrote: You ...
acheng16 General Help 13 11,908 01-06-2016, 08:36 AM
    Thread: Email Library Issues
Post: RE: Email Library Issues

(01-05-2016, 08:11 PM)skunkbad Wrote: (01-05-2016, 05:07 PM)Narf Wrote: (01-05-2016, 03:41 PM)skunkbad Wrote: You might try swapping out your /system/ directory for a fresh copy. Besides that, y...
acheng16 General Help 13 11,908 01-05-2016, 11:14 PM
    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...
acheng16 General Help 13 11,908 01-05-2016, 02:03 PM

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.