Jump to content


HTML coding


14 replies to this topic

#1 Warbz

    IRC is just a multiplayer notepad.

  • Project Team
  • 4646 posts

Posted 10 October 2007 - 13:49

Anyone know how to code a comment box in html? i wanna add one to the bottom of www.warbz18.aexwow.com for ppl to leave me messages.

Thanks in advance.

Posted Image

#2 Athena

    Embody the Truth

  • Gold Member
  • 2672 posts

Posted 10 October 2007 - 14:28

I don't think it's possible with only HTML, I think you need PHP and a database for it. I'm not an expert, though.

#3 Warbz

    IRC is just a multiplayer notepad.

  • Project Team
  • 4646 posts

Posted 11 October 2007 - 08:32

ok thanks

Posted Image

#4 Slightly Wonky Robob

    Not a Wonky Gent.

  • Administrator
  • 9333 posts

Posted 12 October 2007 - 16:38

I think it is possible to make a comment box in html (using javasript)... however it would be much easier to create one in php. you don't need a databse, you can use a series of text files, however it is alot easier with databases.
Posted Image
F O R T H E N S
Posted Image

#5 Short Stuff

    The Music Man

  • Member Test
  • 1448 posts

Posted 14 October 2007 - 15:22

Here, its a guest book (Sorta like a comment box :P )

Its From Freewebs.

type=&#34;text/javascript&#34; src=&#34;http&#58;//link.members.freewebs.com/JS/checkLogin.jsp&#34;></script> <script type=&#34;text/javascript&#34; src=&#34;http&#58;//images.freewebs.com/JS/fw.js&#34;></script> <script type=&#34;text/javascript&#34; src=&#34;http&#58;//images.freewebs.com/JS/fwComments.js&#34;></script> <script type=&#34;text/javascript&#34;>new fwComments&#40;&#39;myguestbook&#39;, 2992580, 13299788,  {requireLogin&#58;false, alignNavRight&#58;true, showLowerPaging&#58;true, showHideLink&#58;false, commentCountText&#58;&#39; Signatures&#39;, isGuestbook&#58;true, limit&#58;20, showRatings&#58;false, duration&#58;0, showDate&#58;true, startPostClosed&#58;false, showLogin&#58;true, showIP&#58;true, postText&#58;&#39;Sign Guestbook&#39;}&#41;;</script>

Posted Image

#6 Warbz

    IRC is just a multiplayer notepad.

  • Project Team
  • 4646 posts

Posted 14 October 2007 - 21:11

thx but bob helped me code a comment box yesterday. =)

Posted Image

#7 Ellipsis

    <Custom title available>

  • Member
  • 806 posts
  • Projects: Co-Leader of Zero Hour:Unleashed

Posted 24 October 2007 - 03:10

I know HTML. But it is very limited. Where should I go next?
Posted Image
Thanks for the sig and avatar, 'Dr.

#8 Felix Lockhart

    Visitor

  • Member
  • 22 posts

Posted 24 October 2007 - 05:40

View PostRedeemer, on 23 Oct 2007, 23:10, said:

I know HTML. But it is very limited. Where should I go next?


W3 Schools is a great place to learn a variety of web languages/topics/techniques. Check out their website at http://www.w3schools.com/

#9 Ellipsis

    <Custom title available>

  • Member
  • 806 posts
  • Projects: Co-Leader of Zero Hour:Unleashed

Posted 24 October 2007 - 10:48

Yup. Thats where I learned it but whats next after HTML?
Posted Image
Thanks for the sig and avatar, 'Dr.

#10 CodeCat

    It's a trap!

  • Gold Member
  • 6111 posts

Posted 24 October 2007 - 11:04

CSS, Javascript... and maybe you could switch to XHTML as well.
CodeCat

Posted Image
Posted Image

Go dtiomsaítear do chód gan earráidí, is go gcríochnaítear do chláir go réidh. -Old Irish proverb

#11 Sgt. Rho

    Kerbal Rocket Scientist

  • Project Leader
  • 6870 posts
  • Projects: Scaring Jebediah.

Posted 24 October 2007 - 17:21

for a simple comment box you need 3 different scripts (4 if you want to show the comments):

1: The comment box (HTML)

2: A PHP script to connect to the database and select the right one,

3: a PHP script to insert the things from the comment box into the DB

4: a PHP and HTML script to show the comments.

#12 Ellipsis

    <Custom title available>

  • Member
  • 806 posts
  • Projects: Co-Leader of Zero Hour:Unleashed

Posted 25 October 2007 - 01:06

Alright. Thanks.
Posted Image
Thanks for the sig and avatar, 'Dr.

#13 Sgt. Rho

    Kerbal Rocket Scientist

  • Project Leader
  • 6870 posts
  • Projects: Scaring Jebediah.

Posted 26 October 2007 - 22:57

A little suggestion: put the mysql acess data in a protected directory :P

#14 Felix Lockhart

    Visitor

  • Member
  • 22 posts

Posted 27 October 2007 - 18:07

View PostCodeCat, on 24 Oct 2007, 7:04, said:

CSS, Javascript... and maybe you could switch to XHTML as well.


Don't forget PHP, it's great for websites :-)

#15 CodeCat

    It's a trap!

  • Gold Member
  • 6111 posts

Posted 27 October 2007 - 20:55

Yeah but honestly, you're better off getting a good grasp at the foundations of individual page design before you start on the 'big picture' with PHP. Getting the formatting and tags working right is hard enough as it is.

Oh, and here's a useful tool for web developers:
W3C validator
CodeCat

Posted Image
Posted Image

Go dtiomsaítear do chód gan earráidí, is go gcríochnaítear do chláir go réidh. -Old Irish proverb



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users