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: 1032
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

How to get value of Entry using latest manialib svn?

Post by reaby »

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: 1678
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

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

Post by magnetik »

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