Welcome Guest, Not a member yet? Register   Sign In
Sending post data?
#3

[eluser]agartzia[/eluser]
[quote author="xwero" date="1202931656"]I don't think you want to send post data using a $_GET request Smile

I think you want to build a link that gets the data: http://site.com/user/1/posts or http://site.com/posts/user/1. take a look at the forum links for inspiration (my forum posts).[/quote]

xwero, as fast as always!

Yep, I want to do a search from a link. I've done a function...

Code:
class Search extends Controller {

    function redirect($controller = 'of', $field = '', $value = '')
    {
            //"magic unexistent function"
            redirect_to($controller, $field, $value);

    }

}

I could code some Javascript, but as I've said, it's not 'clean' enough.

The forum is a good example, as well.


Messages In This Thread
Sending post data? - by El Forum - 02-13-2008, 07:23 AM
Sending post data? - by El Forum - 02-13-2008, 07:40 AM
Sending post data? - by El Forum - 02-13-2008, 07:59 AM
Sending post data? - by El Forum - 02-13-2008, 08:39 AM
Sending post data? - by El Forum - 02-13-2008, 10:37 AM
Sending post data? - by El Forum - 02-14-2008, 12:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB