php - submitting a hyperlink by GET or POST -


so there's hyperlink - it's happy being hyperlink - not want change button or form element - wants stay link!

but me if submit via or post (something switch on pages due design criteria). there way can this

thanks giles

you're in luck... clicking hyperlink request.

if want add query parameters, append them query string so:

<a href="/my/page/foo.php?onions=no&pickles=yes">link text</a> 

Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -