Login | Register | FAQ
Anonymous

how to do this?

+ Post a reply

4 posts Page 1 of 1


how to do this?

by thefatshizms » Sun May 20, 2012 9:15 pm

hi i got this code im trying to put in a phpbb3 forum post

1 how do i put in the post
2 once u put in your ingame name under i want it to show you the text everyone has put in there

here is code
Code: Select all
<br /><br /><div style="background-color: #DDFF99;width:450px; border:thin solid black; padding:10px; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;"><form method="post" action="sfcnr-forum.hourb.com">
   Full in-game username: <input type="text" name="username" style="width:200px" /> <input type="submit" value="Participate" />
</form></div><br /><br />Current participants list:<br /><iframe style="height:300px; />The winners will be drawn the 25th May.<br /><br />Good luck!</div>
User avatar

thefatshizms

  • Posts: 19
  • Joined: Fri Apr 13, 2012 6:08 pm

Re: how to do this?

by XainPro » Mon May 21, 2012 5:46 am

There are errors in your code you have opens and iframe but did not closed it and there is a div closing tag at the end which i snot opens before closing try this code modified by me
Code: Select all
<div style="background-color: #DDFF99;width:450px; border:thin solid black; padding:10px; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;">
  <form method="post" action="sfcnr-forum.hourb.com">
    Full in-game username:
    <input type="text" name="username" style="width:200px" />
    <input type="submit" value="Participate" />
  </form>
</div>
<br />
<br />
Current participants list:<br />
<p>The winners will be drawn the 25th May.</p>
<p>Good luck!</p>
User avatar

XainPro

  • Posts: 3575
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: how to do this?

by thefatshizms » Fri May 25, 2012 2:49 pm

thanks but how would i make it so the names entered will be displayed below?
User avatar

thefatshizms

  • Posts: 19
  • Joined: Fri Apr 13, 2012 6:08 pm

Re: how to do this?

by XainPro » Sat May 26, 2012 11:51 am

you can do this by javascript if your requirment is just for client side and if you intended to save the data entred by user and also display it you can use php.
do you only want that use can see his/her name or there is any other need ?
User avatar

XainPro

  • Posts: 3575
  • Joined: Fri Feb 17, 2012 8:10 pm


+ Post a reply

Page 1 of 1

?>