Ring ring
Best Hosting Services

Home
image
»REIGNZWAP Forum
* Reignzlord * Mubcoded Xtgem get variable is used to pass a variable to the next page. Its more like PHP programming. Its always written with this format: {_$myname|Defaultname} E.g
<form action="http://mysite.com/"><input type="text" name="myname" value="{_$myname|defaultname}" /><input type="submit" value="Go" />
</form>

Copy code
the above code, the variable there is $myname and the alternate or default text or name is 'defaultname'. The defaultname or text can be replaced with your name as the default name. Thus.
<form action="http://mysite.com/"><input type="text" name="myname" value="{_$myname|Mubcoded}" /><input type="submit" value="Go" />
</form>

Copy code
Now, the default name of the variable is 'Mubcoded' which has been replace with 'defaultname'. The code above passes a variable of which a user inputs in the input field above to a new page which is the 'form action' page. With the name the user inputed. If the user did not input any name, 'Mubcoded' will appear in the result page as the name which was set above as the alternate or default text. The 'form action' page stands to receive the variables... Do you understand??
2016-12-19 02:02 (edited 2016-12-19 02:11 by Reignzlord ) · (0)

Online: Guests: 1
Online : 1 Guest(s)
Today : 129 Guest(s)
Total : 591832 Hits

Privacy About Tearms
Contact Report Advertise
Forum Home Facebook
Created By : REIGNZLORD™
Copyright © 2014 -
Proudly A Nigerian