I have the following model functions with PHP. I know I am repeating myself. Is there anyway I can simplify this code?
The following line is giving an error message. $query = \'SELECT * FROM products AS p LEFT JOIN categories AS c USING ON c.id = p.category_id WHERE c.name = \"Galleri1\"
how to take a repo开发者_如何学JAVArt in CSV format in php codeigniternevermind codeigniter. fgetcsv is your friend.
I was 开发者_如何学运维hoping someone could offer me advice, Im looking to build a website, and was hoping that I could inergrate my last.fm radio station or my spotify account into it so the users ca
I have a function prototype as such: function do_upload( $file, $id, $type ) And I\'m calling the function like this:
I\'m trying to create a fairly simple form that has a few checkboxes and input fields and a textarea.Nothing is required by itself; however, if \'A\' checkbox is checked, then \'A\' input field is req
I\'m loading a model for my CodeIgniter based website, but it keeps giving an error: \"Fatal error: Call to a member function on a non-object in /nfs/c02/h05/mnt/30796/domains/planetchustar.com/html/
I\'m making a website with two different databases.Let\'s say one is DB1, and the other is DB2.I\'ve set up my database.php in the config folder, so they each have the correct host/password/username/d
I just started using CodeIgniter after using Zend for a while.开发者_如何学GoMy new site has a feature where you register through Ajax.In Zend I could use this to check if the incoming POST was throug
I am trying to use flot to plot some data that is pulled from a MySQL db. I am log users login visits and I have a SQL function that will retreive the number of visits per day for a given month, getSt