Welcome Guest, Not a member yet? Register   Sign In
Warning: Missing argument 1

Hi guys,

I'm using Codeigniter 1.7.2 and having this curious problem.
Let's say I have a Controller named Test, and a function Test::temp($param)
Logically it should be called when we type in URL http://.../test/temp/testinghere rite? But when I do type in this URL, it says:

A PHP Error was encountered

Severity: Warning

Message: Missing argument 1 for Test::temp()

Filename: controllers/test.php

Does anyone know what's wrong? Thank you Smile

Oh sorry I got it. I think it's because that I load the uri library Big Grin

Theme © iAndrew 2016 - Forum software by © MyBB