How to get value of Entry using latest manialib svn?

Open source, lightweight PHP framework for Manialink and Web development.

Moderator: NADEO

Post Reply
reaby
Posts: 925
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

How to get value of Entry using latest manialib svn?

Post by reaby » 08 Feb 2013, 10:46

With using the manialib framework, but i'm stuck on problem how i get returning values of single / multiple entry boxes on a page. Currently i don't need the file entry, just the text entries.

Thanks for advices,
Reaby

User avatar
magnetik
Nadeo
Nadeo
Posts: 1643
Joined: 01 Feb 2012, 19:13
Location: Paris
Contact:

Re: How to get value of Entry using latest manialib svn?

Post by magnetik » 08 Feb 2013, 10:51

Let's say you have an entry named "foo", if you want to get the value, you have to add foo=foo (name=name) in the link used to submit the form. Foo will be replaced automatically with the content of the entry.

If you have multiple entries, just do foo=foo&bar=bar etc..
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!

Post Reply

Return to “ManiaLib”

Who is online

Users browsing this forum: No registered users and 1 guest