anchor problem

#1
[eluser]zizzo[/eluser]
hi,

i need help for my problem:

the url of my controller in codeigniter is:

http://1.2.3.4/sea/index.php/example

i add in the controller this anchor: anchor(’/delete’,’Delete a record’);

but, when i visualize the page, i obtain a link that heads for http://5.6.7.8/sea/delete

the ip address of server changes completely and ‘index.php’ disappear.

Sorrrryyy for the bad english

Someone can help me?

#2
[eluser]xwero[/eluser]
have you set the base_url and the index_page in the config.php file?

#3
[eluser]zizzo[/eluser]
i have set these settings only now -.-

thanks veeeeeery much for the fast reply!!

#4
[eluser]Tom Glover[/eluser]
The Config will always need to be set-up before your controllers will work. Some vars in the config are less important than others.

#5
[eluser]zizzo[/eluser]
i know it's very important to set the configs files, but i haven't checked these because before the project was managed from an other person, so I thought that he had already set correctly these files.

i don't know if you have understood my explanation Big Grin

i hope yeees Big Grin


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.