myke
14-01-2007, 01:24 PM
Ok, I want it so via let's say 'an admin panel' you can edit the marquee. In the 'admin' panel I have this code:
<form action="marquee.php" method="post">
Text: <input type="text" name="text"><BR>
Direction: <input type="text" name="direction"><BR>
<input type="submit" value="Create"> <input type="reset" value="Duh."></form></center></div>
Yes my coding is bad. But meh. In my marquee.php file I have:
<marquee direction="<?php echo $_POST["direction"]; ?>"><?php echo $_POST["text"]; ?></marquee>
and then I have it showing an iframe. On the index.
It doesn't show anything *****, it shows me it on the page after I press create but it doesn't save it.
<form action="marquee.php" method="post">
Text: <input type="text" name="text"><BR>
Direction: <input type="text" name="direction"><BR>
<input type="submit" value="Create"> <input type="reset" value="Duh."></form></center></div>
Yes my coding is bad. But meh. In my marquee.php file I have:
<marquee direction="<?php echo $_POST["direction"]; ?>"><?php echo $_POST["text"]; ?></marquee>
and then I have it showing an iframe. On the index.
It doesn't show anything *****, it shows me it on the page after I press create but it doesn't save it.