I'm not a PHP pro, but I know enough to upload files, send emails, get info from forms etc in HTML.
I have been having trouble getting my brain around using it in manialinks though. There doesnt seem to be a attribute to get the information from the <entry> tag in manialinks. Would someone be able to give me a small example of getting some information from a user using a button, <entry>, and PHP?
This is what I've managed to get so far:
Code: Select all
<?php
$name = "danodude";
?>
<manialink version="1">
<frame posn="0 0 0">
<quad posn="0 0 0" sizen="100 40" style="Bgs1InRace" substyle="BgWindow3"/>
<label posn="0 0 1" scale="1" text="<?php echo $name; ?>"/>
<entry posn="0 -4 1" sizen="60 20" name="entry1" default="Enter your name"/>
<label posn="0 -30 1" style="CardButtonMedium" text="Apply" manialink="http://localhost/ManialinkPreviewer/test.php"/>
</frame>
</manialink>
