WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Solved Live Comment Feed on Tue May 22, 2012 10:41 pm

theunknowndesigner

avatar
Registered Member
Registered Member
I need a code for a Live comment feed (ex: Youtubes video comments). So I dont have to keep going threw my email getting the comments and "re-publishing" my website.

Alirght I think thats it

http://www.poindexterworld.net/

2Solved Re: Live Comment Feed on Tue May 22, 2012 11:07 pm

Unknown Data

avatar
Registered Member
Registered Member
Do you have acces to write in serverside languages'?

http://woops.dk

3Solved Re: Live Comment Feed on Tue May 22, 2012 11:15 pm

theunknowndesigner

avatar
Registered Member
Registered Member
If I have to learn it I will be.

http://www.poindexterworld.net/

4Solved Re: Live Comment Feed on Wed May 23, 2012 1:02 am

Unknown Data

avatar
Registered Member
Registered Member
I take that as a yes. Smile

Then try something like this below, but remember to replace host, username, password and database with the given information by your host.
Code:
<?php
$db = mysql_connect("host","username","password") or die(mysql_error());
mysql_select_db("database", $db);
$createDB = "CREATE TABLE commentsystem
(
   name VARCHAR(60),
   comment TEXT
)";
mysql_query($createDB,$db);
$query = mysql_query("SELECT * FROM commentsystem");
while ($array = mysql_fetch_array($query)) {
   echo $array["name"] . 'wrote:<br/>' . $array["comment"];
}
echo '<form action="" method="post">
Post a comment?<br/>
Name: <input type="text" name="namefield" /><br/>
<textarea rows="2" cols="20" name="commentfield"></textarea><br/>
<input type="Submit" value="Post comment" name="postcomment" />
</form>';
if (isset($_POST['postcomment'])) {
   $name = $_POST["namefield"];
   $comment = $_POST["commentfield"];
   mysql_query("INSERT INTO commentsystem (name, comment) VALUES ('" . $name . "','" . $comment . "')");
   echo "Your commment has been posted!";
}
mysql_close($db);
?>

http://woops.dk

5Solved Re: Live Comment Feed on Thu May 24, 2012 1:39 pm

samkallis


Banned Member
Banned Member
Because pricing varies by firm, here are several principles to use when determining the validity and value of a web design quote:

* Does the quote state one all-inclusive price for the entire project?

* Is there a reoccurring monthly fee for hosting?

* Is the site custom-built, or is it customization of an existing template?

* Is there a separate fee for content development, such as writing sales copy?

* Is domain registration/management included in the package?

* Will the firm provide multiple design concepts, prior to actual development?

6Solved Re: Live Comment Feed on Tue May 29, 2012 7:48 pm

theunknowndesigner

avatar
Registered Member
Registered Member
samkallis wrote:Because pricing varies by firm, here are several principles to use when determining the validity and value of a web design quote:

* Does the quote state one all-inclusive price for the entire project?

* Is there a reoccurring monthly fee for hosting?

* Is the site custom-built, or is it customization of an existing template?

* Is there a separate fee for content development, such as writing sales copy?

* Is domain registration/management included in the package?

* Will the firm provide multiple design concepts, prior to actual development?

What dose this have to do with this forum???

http://www.poindexterworld.net/

7Solved Re: Live Comment Feed on Tue May 29, 2012 10:35 pm

RSguideMaker

avatar
Registered Member
Registered Member
He's advertising. Hence his warning level:



xD

8Solved Re: Live Comment Feed on Wed May 30, 2012 2:35 am

theunknowndesigner

avatar
Registered Member
Registered Member
Thank you

http://www.poindexterworld.net/

9Solved Re: Live Comment Feed on Thu May 31, 2012 1:30 pm

Sanket

avatar
Administrator
Administrator
Solved | Locked

http://www.webartzforum.com

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum