←  Code Block

Fallout Studios Forums

»

HTML coding

Warbz's Photo Warbz 10 Oct 2007

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.
Quote

Athena's Photo Athena 10 Oct 2007

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.
Quote

Warbz's Photo Warbz 11 Oct 2007

ok thanks
Quote

Slightly Wonky Robob's Photo Slightly Wonky Robob 12 Oct 2007

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.
Quote

Short Stuff's Photo Short Stuff 14 Oct 2007

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>
Quote

Warbz's Photo Warbz 14 Oct 2007

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

Ellipsis's Photo Ellipsis 24 Oct 2007

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

Felix Lockhart's Photo Felix Lockhart 24 Oct 2007

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/
Quote

Ellipsis's Photo Ellipsis 24 Oct 2007

Yup. Thats where I learned it but whats next after HTML?
Quote

CodeCat's Photo CodeCat 24 Oct 2007

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

Sgt. Rho's Photo Sgt. Rho 24 Oct 2007

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.
Quote

Ellipsis's Photo Ellipsis 25 Oct 2007

Alright. Thanks.
Quote

Sgt. Rho's Photo Sgt. Rho 26 Oct 2007

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

Felix Lockhart's Photo Felix Lockhart 27 Oct 2007

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 :-)
Quote

CodeCat's Photo CodeCat 27 Oct 2007

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
Quote