0

this error arises when I try to get url segement

Severity: Notice

Message: Undefined property: Site::$url

Filename: core/Model.php

This is the code of model class Modeland this is function in controller Controller

View

1
  • Just tip next time try not to show image of your code add the code in to your question Commented Feb 5, 2017 at 21:17

1 Answer 1

2

Replace url with uri

$this->uri->segment(3);
Sign up to request clarification or add additional context in comments.

2 Comments

this means Site/Delete/fname here fname is the 2 segment?
@JunaidYousafLodhi don't forget to accept answer if worked.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.