Find Jobs
Hire Freelancers

Blog Comments php mysql

$30-5000 USD

In Progress
Posted about 12 years ago

$30-5000 USD

Paid on delivery
I have a blog embedded in a website ([login to view URL] - attached) which successfully displays posts from the table news (sql dump attached). Under each post you'll see the word 'comments', which is linked to [login to view URL] (attached). Some coding is required on [login to view URL] near the 'comments' hyperlink. TASK1 -> Count the amount of comments on this post (drawn from the blog_comments table (sql attached). I assume this will involve a WHERE clause where newsid = commentid ??? If count = 1, echo "1 comment" and link to [login to view URL] If count != 1, echo "[COUNT] comments" and link to [login to view URL] When the user clicks on "... comments" and is taken to [login to view URL], task 2 begins: TASK 2 -> Where you see CODE NEEDED HERE, insert the code to echo only the blog post selected on the [login to view URL] page. Below this is a form (already finished) which allows users to input a comment and submit to blog_comments_confirm.php. However, below this form on the [login to view URL] page is code which echos all comments. Currently it echoes all comments on all posts. I assume some sort of WHERE clause is needed near where I have typed in CODE NEEDED HERE to only post comments related to this blog post (where commentid = newsid??? TASK 3 -> The [login to view URL] page just needs to be tweaked slightly to input the id of the blog post into the newsid field in the blog_comments table, so that the comment can be linked to the relevant post. All files and tables attached. Cheers, Dave
Project ID: 2718775

About the project

13 proposals
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$30.60 USD in 14 days
5.0 (14 reviews)
3.0
3.0
13 freelancers are bidding on average $71 USD for this job
User Avatar
See private message.
$42.50 USD in 14 days
5.0 (426 reviews)
6.5
6.5
User Avatar
See private message.
$60 USD in 14 days
4.9 (228 reviews)
6.3
6.3
User Avatar
See private message.
$51 USD in 14 days
5.0 (47 reviews)
5.6
5.6
User Avatar
See private message.
$50.15 USD in 14 days
4.3 (46 reviews)
5.7
5.7
User Avatar
See private message.
$45.05 USD in 14 days
5.0 (130 reviews)
5.6
5.6
User Avatar
See private message.
$40.80 USD in 14 days
4.9 (57 reviews)
4.9
4.9
User Avatar
See private message.
$102 USD in 14 days
4.9 (48 reviews)
4.8
4.8
User Avatar
See private message.
$50.15 USD in 14 days
5.0 (4 reviews)
2.8
2.8
User Avatar
See private message.
$50.15 USD in 14 days
4.8 (11 reviews)
2.6
2.6
User Avatar
See private message.
$50.15 USD in 14 days
5.0 (1 review)
1.3
1.3
User Avatar
See private message.
$50.15 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$300.05 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Australia
5.0
93
Payment method verified
Member since Dec 22, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.