Before I start, this is not a duplicate of this. This doesn't help me whatsoever.
I am attempted to create a php variable from the input of a html form. Here is my code which I crudely copied from some website somewhere presumably
<form method="post">
Word: <input type="text" name="name"><br>
<input action="welcome.php" type="submit">
</form>
<audio src="http://ssl.gstatic.com/dictionary/static/sounds/de/0/"<?php echo $_POST["name"]; ?>".mp3" loop="1" autoplay="1"></audio>
One other thing, as I literally clicked copy then paste, I have no idea what welcome.php
actually is. Since this terrible website didn't actually instruct me on that. I have tried without this line but sadly, to no avail.
If you wish to see what I mean, click here.
PS: Please don't ask why I am doing this. It is an inside joke which will be secretly placed in many places.
Many thanks in advance,
Me.