So then how would i get the id and delete just a pdf field whichever is clicked to delete? As there are 3 pdf fields so don't want it deleting all 3 just which ever is clicked.
I'm not really that good with ajax just wanted to keep it simple like click the link and the PDF gets removed or even a checkbox then click save and it gets removed, but just the pdf that is clicked via link or check box
So where do i go from here, if it was conventional codeigniter i could write something but seen has the main files are in modules with no real controllers I'm kinda stuck what to do.
so i have form_fields that produce all the fields
see image -> http://imageshack.us/photo/my-images/546/screenshot20120426at120.png/ see the delete text so when this delete link is clicked is need to remove that pdf from the database but leave e…
Well basically i have done the database with several fields which Fuel then produced the form, and I added in some extra functionality, but now I need it to delete a certain field when the user clicks the link.
So I need to grab the ID of the produ…
$options = $this->options_list('id', 'name');
this does work nice, however its grabbing the data from the aircraft table when I need to grab it from the fleets table. Do i need to add another param?
Thanks for getting back to me quickly! That's a great start, but I need to edit (potentially) multiple photos at the same time, am I able to do this with $data = $CI->upload->data();?
Edit: working brilliantly for one item. Thanks!
see the image on imageshack i just want the first browse upload box not the second one so how do i get rid of that?
URL to image: http://imageshack.us/photo/my-images/153/screenshot20111110at205.png/
So need to remove the ...OR upload part, can yo…
Thanks, I actually did it another way and works fine.
My next question would be im building a full/massive e-commerce site for my client and wondered how eaasy this would be and can you expand on on CI by using/adding controller/function/params, fo…
By the way this is the error I get for the above:
Error Number: 1146
Table 'int.subscriber_email' doesn't exist
SELECT *, subscriber_email, subscriber_email FROM (`fuel_subscribers`, fuel_subscribe) JOIN `subscriber_email` ON `fuel_subscribers`.`…
I have done it all again with this code and now having trouble joining two tables:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class Subscriber_model extends Base_module_model {
//public $required = array('subsc…
So my full code looks like this:
<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
class Email_subscribers_model extends Base_module_model {
public $required = array('email_to');
function __construct() {
…