Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

lstables

About

Username
lstables
Joined
Visits
722
Last Active
Roles
Member

Comments

  • Ahhh I see, thats cleared that up. Thanks again
    in Enum Select Comment by lstables May 2012
  • Thats worked great! Much appreciated.
  • Could I just replace the fixed files instead of a full update? if so which files would i need?
  • Hi Thanks for the speedy reply. No, I have been working on this project since october. Will the updated files effect the current project?
  • 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.
  • And what you wrote is that based on my pastebin link?
  • Here's my complete products module so what can i add into to make this work? http://pastebin.com/Jm8jeF9X
  • 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…
  • But i have a link like: Delete so need to know what to put in the href
  • I don't want to delete everything from that record i just want to remove what is in the pdf field, so i need a function to do this, any idea's?
  • Actually it was set to false, so I set it to true and works just fine now! Thanks anyway.
  • 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…
  • no error message and if the image is something like image_123-another.jpg it wont upload, something clearly to do with santize.
  • Works! Thankyou very much
  • $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?
  • Just getting back to you to confirm that you're a genius. Cheers! Much appreciated.
  • Okay, I'll have a play with this and see how it goes. Thanks again .
  • Ok thanks but i cant remove the line on 444, nor can i get print_r to show, am i doing something worng?
  • 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() { …
  • Right ok i fully undertsand that but where in my code above should i place this?