484 Topics
| |
Have no idea how such simple thing can not work :( [CODE]<form action = "<?php echo base_url()?>admin_/groups/preview" target = ""> <strong>Pavadinimas: </strong><br> <input type="text" name="title" /><br><br> <strong>Tekstas: </strong><br> <textarea name = "text" cols = "90" rows = "90"></textarea><br> <input class = "save" type="button" name="submit" value = "Išsaugoti"/> <input class = … | |
Hello frndz, I want to handle the database error coming on insert query when duplicate entry going for unique key.(I am using mvc frame work in php) Please Help me...... | |
[CODE] function function1() { //nereik php validation, nes adminas formos net nepasieks jei js isjungtas $data = array( 'name' => $this->input->post('album_name') ); $query = $this->db->insert('album_name',$data); $id = $this->db->insert_id(); $success = mkdir('./uploads/gallery/'.$id); //albumo folderio vardas bus id $success2 = mkdir('./uploads/gallery/'.$id.'/thumbs'); //mazi paveiksliukai if(!$success || !$success2) echo 'fail'; else echo $id; } … | |
Hi, I'm trying to insert data into array after I retrieve it from database but I keep getting this error message: 'Fatal error: Cannot use object of type stdClass as array in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\DeliciousCupcakes\system\application\models\cupcake.php on line 22' Please help me. The framework I'm using is codeigniter. DefaultDirectory.php file … | |
| When a member signs up there asked to enter an email and verify. When they click the verification link in there email there taken to step 2 which is where they enter there info. In the info page I have an privacy policy link, which displays this way. [CODE]<h3><span class="underLine"> … |
Hello, For the project I am currently working on, I have to display user's schedule from Monday to Sunday. My database design is as follows: [CODE]course(id(PK), course_no, credits, title, description) section(id(PK),section_no,course_id(FK),instructor_id(FK)) timeslot(id(PK),day,start_time,end_time) section_times(section_id(PK,FK),timeslot_id(PK,FK))[/CODE] Course has many sections. Sections has many time slots at which they are taught. A section is … | |
Can anyone help me with an ajax script that automatically takes values from a drop down menu and pass it onto another drop down menu.? Both drop down boxes are dynamic.It would be helpful if someone can share a link to a working model of the above. I am using … | |
Well I have a lot of confusions about wordpress. And I unfortunately could not find a satisfactory answer to my questions. So expecting a detailed answer. To what extent we can customize a wordpress website? for what kind of projects we should use wordpress. Can we create a database oriented … | |
Hi ... Friends ... I have to develop one project in php for my project work. Our college has said that we have to use any one framework of php to develop our project. I am going to develop forum. Which frame will suits best for my development. I dont … | |
Hi all, I've been watching Jefferey Way's excelent video series on Codeigniter, and while I was trying to follow along, there was a bug that I couldn't fix. When I placed an anchor tag: [CODE=php]anchor('login/signup','Create Account');[/CODE] and clicked on it, this was the url generated: [url]http://localhost/ci/index.php/login/localhost/ci/index.php/login/signup[/url] instead of: [url]http://localhost/ci/index.php/login/signup[/url] The … | |
hiii friends... i m gonna work on modeling ajency based website project. major requirements are: user registration with authentication, their uploads, galleries and ofcource a great search options such as age wise, sex wise. plz tell me what will be the best framework (or cms) i should use. according to … | |
hi guys, I'm doing a simple system using codeigniter i need to implement search using jquery ajax in it, this is my fist coding experience in codeigniter and jquery, so i need a good source to learn about it, please suggest me good study material for studying it? regards, Rangana | |
Hi, how can I get "2" with Url using CI, I try $this->uri->segment() but it doesn't work. [code] http://127.0.0.1/~nertos/index.php/website/search?search=abc+xyz/2 [/code] Any ideas? | |
Hi, Im just starting to use the codeIgniter framework and Im developing a blog application. However I need a textarea where the user can change text to bold or change the colour just by selecting it and clicking a button above the area. Much like the daniweb reply form but … | |
Hi all, I'm after the opinion from experienced website devs. I want to build a website provides articles, of which some are restricted to subscribers. I will want to give users the ability to comment and rate articles. So I will need the following functionality: [LIST=1] [*]authentication [*]forms [*]user profile … | |
Hi all I'm starting to learn more about PHP5/OOP and the CodeIgniter framework. Most frameworks seem to have form classes and form helpers. What are the benefits of using these over straight HTML? I take it there is a reason for getting the server to process code as an [B]additional … | |
Hi, I want to integrate the dhtmlxScheduler calender with the codeigniter framework. but i am not sure how to connect with the model instead of the db directly and also, how to manage the interaction between the controller, the model and interface thanks, | |
Hi, I am in a process of selecting a PHP framework which we will use for development of websites. we are almost ready to go with CodeIgniter an/or Zend. However, in our newest project we need a functionality which allows to upload text (with styles) from Word Document to database, … | |
I have 3 tables. Locations, Units and phases. Each location can have multiple units and each unit will have multiple phases. Hence my database structure consists of foreign key associations as follows. 'Units.location_id' references 'Locations.id' 'Phases.unit_id' references 'Units.id' When I delete a Location, all associated Phases of the Location and … | |
is this code what im doing is correct..? im using codeigniter framework of this one…engine use is iNNodb [code=php] db->simple_query('SET AUTOCOMMIT=0'); $lockquery = "LOCK TABLE costumer_prof WRITE"; $db->insert('costumer_prof',$valueAdded); if($db->trans_status() === FALSE) //is this ok to used trans_status without trans_start or trans_begin..? { $db->trans_rollback() return 1; } else { $db->trans_commit(); return … | |
Hi, Which one do you prefer CakePHP, Symfony, Zend Framework, CodeIgniter ? I need to decide on one to go for. Thanks | |
Hello friends, I am a new babie to codeigniter. I am working on a maintenace task.And I am getting the error as frontend_make_url_name this function not found. Can anybody is there to help me? For helping I am pasting my code below. [CODE] <?php class User extends Controller { var … | |
Helllo freinds, I am a new babie to codeigniter.On admin side i m getting an error that is after login a black page get displayed.I am not getting what is exactly problem is.So I am pasting my code below. please if possible help me. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … | |
Hi all, I am using codeigniter. I want to generate dynamically the contents of the textarea of the tinyMce. Is there any plugin for generating the content something like smarty. Thanks in advance. Jino | |
So I decided that I would describe my attempts at developing my own Rapid Development Framework, here on DaniWeb since they are so nice to give people free blog space. So many of you are probably asking, "What exactly is a Rapid Development Framework?" A Rapid Development Framework (I'll just … | |
hello., I'm newbie here., this is my first post^^ how are u doing all??? i hope u are good. ok, let start with my problem in use codeigniter framework, where i want to upload multiple file in same form but with different allowed type (image n pdf). how can i … | |
Hello Friends, I am new in using codeigniter.I am working on a client project.In this i have 1 form with fields like entering name, address along with 5 file uploading basically all images.Suppose while submitting a form an error occures then fields like name and address value can be retrieve … | |
Hello World, I am Antonio KC, from Peru. Currently I am developing a job board system, php based, using CodeIgniter framework. | |
hi all, i am using codeigniter for a shopping cart for my admin panel i created a first method mentioned [URL="http://philsturgeon.co.uk/news/2009/07/Create-an-Admin-panel-with-CodeIgniter"]here [/URL] for this iam getting error failed to open stream 'D:\wamp\www\codeigniter\admin/system/codeigniter/CodeIgniter.php’ i need to add ../ in this line [code=php]require_once BASEPATH.'codeigniter/CodeIgniter'.EXT;[/code] how to do this i am getting error … | |
Hi , I am using codeigniter for my project.On admin side i am using spaw editor to add content.On user side i have used a code so that for large content to have read more and close link.For normal text no problem what so ever.But suppose in a content we … |
The End.