The codeigniter-url tag has no wiki summary.
0
votes
0answers
9 views
removing backslashes in the query using codeigniter mysql
Post value is multi select, means values are coming in the form of array
if(!empty($_POST['form_type']))
{
$test = implode("','",$_POST['form_type']);
...
1
vote
1answer
18 views
codeigniter rerouting url with some new additional parameters
I am using codeigniter re-route to clean up some urls.
I am aware that I can do
$route['product/(:num)'] = "catalog/product_lookup_by_id/$1";
But in some cases I have to add some extra parameters ...
0
votes
1answer
55 views
How to update data with CodeIgniter and REST
I am new to CodeIgniter. I want to create a web service REST for the update.
This is my controller:
function user_post()
{
$result = $this->user_model->update( $this->get('id'),
...
1
vote
1answer
50 views
CHMOD 777 Codeigniter configuration error
I am configurating my project on codeigniter and Mamp. When i run it i got CHMOD 7777 error as shown in the image. Does someone know how to make config.php and the other page rewritable.
0
votes
2answers
75 views
Include all codeigniter functions to a new static page(php file) which is located in root folder. [closed]
I am developing a website which having many static pages. so i created controller only for dynamic pages(it might be wrong practice). Keeping all other static files in root folder. Now i want to use ...
0
votes
0answers
63 views
set value for the dropdown in codeigniter
I am getting the values from the db and populating the dropdown. Below dropdown is multiselect, I am using this dropdown for the filtering purpose. Once user selects multi projects of the dropdown and ...
1
vote
1answer
59 views
is_home() function in Codeigniter
As I know the Wordpress has is_home() function to determine home page.
In YII i use solution like this Yii check if homepage
In CI, templates actually, i faced many times with necessity of it. For ...
1
vote
1answer
67 views
a href throught sent values not working in IE7 using code igniter
I am trying to send values through "HREF".. its not working in IE7..
But in Chrome and Mozilla .code is working fine
<a href="<?php echo ...
1
vote
2answers
86 views
Codeigniter session and redirect is not working in IE7 but working in IE8
I'm using codeigniter and have a simple user login setup. User submits their credentials, checks with the DB if they are valid, if they are the model passes the controller a session ID and is ...
0
votes
1answer
48 views
Use another domain for a part of URL in CI
I want to make a website by CI that some people have a personal page like this
main-domain.com/index.php/sites/site_id/other-controller...
and I want to allocate a domain for everyone who has this ...
0
votes
2answers
46 views
Country name in codeigniter url
My question is how to append country name in codeigniter url?
Lets say my website is http://mywebsite.com and I am opening the website from Canada so my url should be http://mywebsite.com/canada.
...
0
votes
1answer
47 views
Custom URL rewriting not working in codeigniter
I use the code below in a Codeigniter htaccess file
RewriteRule ^([^.]+)-vacation$ /search?location=$1
When i access it with the url www.example.com/moscow-vacation,
it gives me a 404 error.
I ...
1
vote
1answer
56 views
Twitter Bootstrap Path Breaks When Not on Homepage
I am currently testing my website on the local server. I have issues with twitter bootstrap's path in my header view.
On my homepage this path works fine:
<link href="bootstrap/css/bootstrap.css" ...
0
votes
1answer
40 views
Jquery based on the city [closed]
Below is the jquery in which selecting the city should load the project details , but the below jquery is showing some
error uncaught reference error $ is not defined
<script>
...
0
votes
2answers
32 views
City_id in the where clause is ambiguous
I have wrote the query , but it is showing city id in the where clause is ambigious
SELECT
`a`.`name`,
`a`.`company`,
`a`.`city`,
`a`.`country`,
`a`.`phone`,
`a`.`type_of_enquiry`,
...