473,382 Members | 1,424 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Displaying Posts and comments specifically like Facebook

please if I may ask seeing the way comments and posts are being made you will find out that post are being displayed to people in a particular country like someone from Chile cannot see the posts of another person from Russia, or posts can only be shown to friends or mutual friends.
Please how can I use php to do that on my comment system
Aug 7 '15 #1
1 1783
you can add new fields in your table in which you can save the value by user who is adding that.
after that when you are going to display that posts or comments, you can check that value weather it should display or not.
Sep 2 '15 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Sam | last post by:
I wrote a script to show or hide items in an HTML list (<ul id="stuff">) depending on whether a list-item's CLASS attribute matches an input string (catString), which is chosen from a SELECT menu....
14
by: Phil | last post by:
I have been using this code to display the version number, and this has worked well, but I am now changing from using the ClickOnce publishing to a proper setup project, and this no longer works. ...
0
by: Kent Åsberg | last post by:
How do I code image display in the way Facebook does using forward and backward arrows. Prefer CSS, xhtml, JavaScript. Grateful for code sample. Kent Åsberg, Vellinge
1
by: fuchsia555 | last post by:
Hello everybody i have a strange problem that i have already inserted the two ways that facebook can get the thumb by them <meta property='og:image' content='thumb.jpg' /> <link...
5
by: sarah aziz | last post by:
Hello guys, i found this great post http://www.99points.info/2010/07/facebook-style-wallpost-and-comments-system-using-jquery-ajax-and-php-reloaded/ It is about post and comments like on facebook,...
4
by: pandu13 | last post by:
For my php website, I have created a facebook app and has given the details like site url etc. but when i click on sign up with facebook button in my facebook login script, it is not...
0
by: sj363 | last post by:
I like adding photos to my text posts but they are never centered, I've been on many many websites for hours trying to change HTML stuff but it still will not work. I'm beginning to get frustrated...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.